forked from lukeautry/tsoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "tsoa",
"description": "Build swagger-compliant REST APIs using TypeScript and Node",
"version": "3.2.1",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"keywords": [
"typescript",
"openapi",
"swagger",
"server",
"node",
"node.js",
"codegen",
"generation",
"express",
"hapi.js",
"koa"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run pre-commit"
}
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write",
"git add"
]
},
"scripts": {
"start": "tsc -w",
"build": "yarn clean && yarn tsc && yarn copy-templates && yarn copy-types",
"copy-types": "copyfiles -u 1 ./src/*.d.ts ./dist",
"copy-templates": "copyfiles -u 1 ./src/routeGeneration/templates/**/* ./dist",
"clean": "rimraf dist && rimraf tests/fixtures/*/routes.ts",
"lint": "tslint ./src/**/*.ts ./tests/**/*.ts",
"format": "tsfmt -r",
"prepare": "yarn build",
"deploy": "yarn version patch -m \"Release v%s\" && yarn publish",
"preversion": "yarn test",
"postversion": "git push origin master && git push --follow-tags",
"pretest": "cross-env NODE_ENV=tsoa_test ts-node ./tests/prepare.ts",
"loading-msg-for-tests": "echo '... starting a test run to ensure quality. Note this takes some time as tests do not run in parallel (by design) ...' ",
"test": "node ensureYarn.js && tsc -p ./tests/tsconfig.json --noEmit && yarn loading-msg-for-tests && cross-env NODE_ENV=tsoa_test mocha **/*.spec.ts --exit --require ts-node/register --timeout 5000",
"pre-commit": "yarn lint && yarn test",
"tsc": "tsc"
},
"author": "Luke Autry <[email protected]> (http://www.lukeautry.com)",
"license": "MIT",
"dependencies": {
"deepmerge": "^4.2.2",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"handlebars": "^4.7.6",
"merge": "^1.2.1",
"minimatch": "^3.0.4",
"moment": "^2.24.0",
"typescript": "^3.9.2",
"typescript-formatter": "^7.2.2",
"validator": "^12.2.0",
"yamljs": "^0.3.0",
"yargs": "^14.0.0"
},
"devDependencies": {
"@hapi/hapi": "^19.1.1",
"@koa/router": "^8.0.8",
"@types/body-parser": "^1.17.1",
"@types/chai": "^4.2.0",
"@types/express": "^4.17.1",
"@types/hapi__hapi": "^19.0.2",
"@types/koa": "^2.11.3",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa__router": "^8.0.2",
"@types/method-override": "0.0.31",
"@types/mime": "^2.0.1",
"@types/minimatch": "^3.0.3",
"@types/mocha": "^5.2.7",
"@types/node": "^12.7.2",
"@types/serve-static": "^1.13.3",
"@types/sinon": "^7.5.0",
"@types/superagent": "^4.1.3",
"@types/supertest": "^2.0.8",
"@types/validator": "^12.0.1",
"@types/yamljs": "^0.2.30",
"@types/yargs": "^13.0.2",
"body-parser": "^1.19.0",
"chai": "^4.1.2",
"chalk": "^2.4.2",
"copyfiles": "^2.2.0",
"cross-env": "^5.1.6",
"express": "^4.17.1",
"husky": "^3.0.2",
"inversify": "^5.0.1",
"inversify-binding-decorators": "^4.0.0",
"koa": "^2.8.1",
"koa-bodyparser": "^4.2.1",
"lint-staged": "9.2.3",
"method-override": "^3.0.0",
"mocha": "^7.1.1",
"prettier": "^2.0.5",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
"supertest": "^4.0.2",
"ts-node": "^8.3.0",
"tslint": "^6.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/lukeautry/tsoa.git"
},
"bin": {
"tsoa": "dist/cli.js"
},
"engines": {
"yarn": ">=1.9.4",
"node": ">=6.0.0"
},
"engineStrict": true
}