forked from olivierlsc/swagger-express-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·107 lines (107 loc) · 3.29 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
{
"name": "swagger-express-ts",
"version": "1.0.1",
"description": "Generate and serve swagger.json",
"main": "index.js",
"types": "index.d.ts",
"typings": "index.d.ts",
"scripts": {
"build:lib": "echo \"Building lib...\" && gulp build:lib",
"build": "echo \"Building...\" && gulp build",
"clean": "echo \"Cleaning...\" && gulp clean",
"test": "echo \"Testing...\" && npm run build && nyc mocha",
"dev": "echo \"Developing...\" && nodemon",
"start":
"echo \"Starting...\" && npm run build && ts-node --project tsconfig.json src/index.ts",
"publish": "npm publish dist/swagger-express-ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/olivierlsc/swagger-specification-ts.git"
},
"author": "Olivier LIN-SI-CHENG",
"license": "MIT",
"keywords": [
"inversify",
"inversifyjs",
"swagger",
"swagger2",
"swagger-ui",
"typescript",
"expressjs",
"express",
"api rest",
"documentation",
"decorator",
"generator",
"swagger.json",
"json",
"rest"
],
"bugs": {
"url": "https://github.com/olivierlsc/swagger-specification-ts/issues"
},
"homepage": "https://github.com/olivierlsc/swagger-specification-ts#readme",
"dependencies": {
"@types/body-parser": "^1.17.0",
"@types/compression": "0.0.35",
"@types/express": "^4.16.0",
"@types/helmet": "0.0.37",
"@types/inversify": "^2.0.33",
"@types/lodash": "^4.14.109",
"body-parser": "^1.18.3",
"compression": "^1.7.2",
"express": "^4.16.4",
"helmet": "^3.12.1",
"inversify": "^4.13.0",
"inversify-express-utils": "^4.2.2",
"lodash": "^4.17.10",
"reflect-metadata": "^0.1.10"
},
"devDependencies": {
"@types/chai": "^4.1.3",
"@types/mocha": "^2.2.48",
"@types/sinon": "^4.3.3",
"chai": "^4.1.2",
"gulp": "^4.0.0",
"gulp-clean": "^0.4.0",
"gulp-sourcemaps": "^2.6.4",
"gulp-tslint": "^8.1.3",
"gulp-typescript": "^3.2.4",
"mocha": "^4.0.1",
"nodemon": "^1.18.4",
"nyc": "^13.1.0",
"prettier": "1.12.0",
"pretty-quick": "^1.4.1",
"rimraf": "^2.6.2",
"sinon": "^4.5.0",
"source-map-support": "^0.5.9",
"swagger-ui-dist": "^3.17.0",
"ts-node": "^7.0.1",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.10.0",
"typescript": "^3.1.3"
},
"nyc": {
"include": ["src/**/*.ts", "lib/swagger-express-ts-lib/src/**/*.ts"],
"exclude": ["src/index.ts"],
"extension": [".ts"],
"require": ["ts-node/register"],
"reporter": ["html"],
"sourceMap": true,
"instrument": true
},
"nodemonConfig": {
"restartable": "rs",
"watch": ["src/**/*.ts", "lib/**/*.ts"],
"ext": "ts",
"ignore": ["test/*", "wiki/*", "swagger/*", "node_modules/*", "dist/*"],
"delay": "2500",
"exec": "gulp build && ts-node --project tsconfig.json src/index.ts"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}