forked from lukeautry/tsoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 3.38 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
{
"name": "tsoa",
"description": "Build swagger-compliant REST APIs using TypeScript and Node",
"version": "1.1.7",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"keywords": [
"typescript",
"swagger",
"node",
"node.js",
"codegen",
"generation"
],
"scripts": {
"start": "tsc -w",
"build": "npm run clean && tsc && npm run copy-templates",
"copy-templates": "copyfiles -u 1 ./src/routeGeneration/templates/**/* ./dist",
"clean": "rimraf dist && rimraf test/fixtures/routes.ts",
"lint": "tslint --exclude=./node_modules/** ./src/**/*.ts ./tests/**/*.ts",
"format": "tsfmt -r",
"prepublish": "npm run build",
"deploy": "npm version patch && npm publish",
"postversion": "git push origin master",
"routes-gen": "node ./dist/cli.js routes",
"swagger-gen": "node ./dist/cli.js swagger",
"routes-gen:hapi": "node ./dist/cli.js routes --configuration=hapi-tsoa.json",
"routes-gen:koa": "node ./dist/cli.js routes --configuration=koa-tsoa.json",
"routes-gen:custom": "node ./dist/cli.js routes --configuration=custom-tsoa.json",
"routes-gen:inversify": "node ./dist/cli.js routes --configuration=inversify-tsoa.json",
"pretest": "cross-env NODE_ENV=test npm run build && npm run swagger-gen && cross-env NODE_ENV=test npm run routes-gen && cross-env NODE_ENV=test npm run routes-gen:hapi && cross-env NODE_ENV=test npm run routes-gen:koa && cross-env NODE_ENV=test npm run routes-gen:custom && cross-env NODE_ENV=test npm run routes-gen:inversify && npm run lint",
"test": "cross-env NODE_ENV=test mocha **/*.spec.ts --compilers ts:ts-node/register",
"tsc": "tsc"
},
"author": "Luke Autry <lukeautry@gmail.com> (http://www.lukeautry.com)",
"license": "MIT",
"dependencies": {
"express": "^4.14.1",
"handlebars": "^4.0.6",
"handlebars-helpers": "^0.8.0",
"lodash": "^4.17.4",
"merge": "^1.2.0",
"mkdirp": "^0.5.1",
"moment": "^2.17.1",
"tslint": "^4.4.2",
"typescript": "^2.2.1",
"typescript-formatter": "^5.1.0",
"validator": "^7.0.0",
"yargs": "^6.6.0"
},
"devDependencies": {
"@types/body-parser": "^0.0.34",
"@types/chai": "^3.4.35",
"@types/express": "^4.0.35",
"@types/handlebars": "^4.0.31",
"@types/hapi": "^16.0.0",
"@types/koa": "^2.0.38",
"@types/koa-bodyparser": "^3.0.23",
"@types/koa-router": "^7.0.21",
"@types/lodash": "^4.14.53",
"@types/method-override": "^0.0.29",
"@types/mime": "^0.0.29",
"@types/minimatch": "^2.0.29",
"@types/mkdirp": "^0.3.29",
"@types/mocha": "^2.2.39",
"@types/node": "^7.0.5",
"@types/serve-static": "^1.7.31",
"@types/superagent": "^2.0.36",
"@types/supertest": "^2.0.0",
"@types/validator": "^6.2.0",
"@types/yargs": "^6.6.0",
"body-parser": "^1.16.1",
"chai": "^3.5.0",
"copyfiles": "^1.2.0",
"cross-env": "^3.2.4",
"hapi": "^16.1.0",
"inversify": "^3.1.0",
"koa": "^2.0.1",
"koa-bodyparser": "^3.2.0",
"koa-router": "^7.0.1",
"lodash.set": "^4.3.2",
"method-override": "^2.3.7",
"mocha": "^3.2.0",
"reflect-metadata": "^0.1.10",
"rimraf": "^2.6.1",
"supertest": "^2.0.1",
"ts-node": "^2.1.0"
},
"repository": {
"type": "git",
"url": "https://github.com/lukeautry/tsoa.git"
},
"bin": {
"tsoa": "dist/cli.js"
},
"engines": {
"node": ">=6.0.0"
},
"engineStrict": true
}