-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.86 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
{
"name": "node-onion-scaffold",
"version": "0.0.1",
"author": "https://github.com/YegorMedvedev",
"license": "MIT",
"engines": {
"node": ">=12.16.0"
},
"scripts": {
"prebuild": "rm -rf ./build",
"build": "tsc",
"postbuild": "mkdir -p build/api/schemas && find src/ -type f -name '*.yaml' -exec cp '{}' build/api/schemas/ ';'",
"start": "node build/main.js",
"lint": "tslint './{src,test}/**/*.ts'",
"lint:fix": "yarn lint --fix",
"prettier": "prettier --write '{**/*,.}/*.{md,js,ts,json}'"
},
"dependencies": {
"body-parser": "1.19.0",
"compression": "1.7.4",
"dotenv": "8.2.0",
"express": "4.17.1",
"helmet": "3.22.0",
"inversify": "5.0.1",
"inversify-express-utils": "6.3.2",
"knex": "0.21.1",
"mongodb": "3.5.7",
"multer": "1.4.2",
"pg": "8.2.1",
"reflect-metadata": "0.1.13",
"swagger-jsdoc": "4.0.0",
"swagger-ui-express": "4.1.4",
"uuid": "8.0.0",
"winston": "3.2.1"
},
"devDependencies": {
"@types/body-parser": "1.19.0",
"@types/compression": "1.7.0",
"@types/express": "4.17.6",
"@types/mongodb": "3.5.18",
"@types/multer": "1.4.3",
"@types/nock": "11.1.0",
"@types/swagger-jsdoc": "3.0.2",
"@types/swagger-ui-express": "4.1.2",
"@types/uuid": "7.0.3",
"@types/winston": "2.4.4",
"casual": "1.6.2",
"chai": "4.2.0",
"husky": "4.2.5",
"lint-staged": "10.2.4",
"mocha": "7.1.2",
"nock": "12.0.3",
"prettier": "2.0.5",
"ts-node": "8.10.1",
"tslint": "6.1.2",
"tslint-config-prettier": "1.18.0",
"tslint-microsoft-contrib": "6.2.0",
"typescript": "3.9.2"
},
"lint-staged": {
"*.ts": [
"prettier --config .prettierrc --write",
"tslint -c tslint.json -p tsconfig.json --fix",
"git add ."
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}