-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
executable file
·129 lines (129 loc) · 3.55 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
122
123
124
125
126
127
128
129
{
"name": "swagger-express-ts",
"version": "1.1.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",
"prepare": "npm run build:lib"
},
"repository": {
"type": "git",
"url": "git+https://github.com/olivierlsc/swagger-express-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-express-ts/issues"
},
"homepage": "https://github.com/olivierlsc/swagger-express-ts#readme",
"dependencies": {
"@types/body-parser": "^1.19.0",
"@types/compression": "1.7.0",
"@types/express": "^4.17.12",
"@types/helmet": "0.0.48",
"@types/inversify": "^2.0.33",
"@types/lodash": "^4.14.170",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"express": "^4.17.1",
"helmet": "^4.6.0",
"inversify": "^4.13.0",
"inversify-express-utils": "^4.2.2",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"save": "^2.4.0"
},
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/sinon": "^9.0.11",
"chai": "^4.3.4",
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-tslint": "^8.1.4",
"gulp-typescript": "^5.0.1",
"mocha": "^8.4.0",
"nodemon": "^2.0.7",
"nyc": "^15.1.0",
"prettier": "2.2.1",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"sinon": "^10.0.0",
"source-map-support": "^0.5.19",
"swagger-ui-dist": "^3.50.0",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.3.4"
},
"nyc": {
"include": [
"src/**/*.ts",
"lib/swagger-express-ts-lib/src/**/*.ts"
],
"exclude": [
"src/index.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"html",
"cobertura"
],
"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"
}
}
}