-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 2.46 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
{
"name": "api-node",
"version": "0.0.1",
"description": "Node REST API: https://github.com/bipiane/api-node",
"author": {
"name": "Ivan Pianetti",
"email": "ivanpianetti23@gmail.com"
},
"engines": {
"node": "12.13.0",
"npm": "6.12.0"
},
"scripts": {
"dev": "set debug=* && ts-node-dev --respawn --transpile-only --watch src,apiDoc,test,tests ./src/app.ts",
"tsoa:gen": "tsoa routes && tsoa swagger && npm run prettier",
"copy": "cp package*.json build/ && cp README.md build/ && cp -r apiDoc build/",
"build": "npm run tsoa:gen && tsc && npm run copy",
"start": "npm run migration:run && ts-node ./build/src/app.js",
"migration:run": "ts-node ./node_modules/typeorm/cli.js migration:run",
"prettier": "prettier --config ./.prettierrc --write \"src/**/*{.ts,.js,.json,.css,.scss,.html}\" \"*.json\" \"apiDoc/*.json\" ",
"predev": "npm run git-version",
"prebuild": "npm run git-version",
"git-version": "ts-node git.version.ts",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix",
"test": "mocha",
"coverage": "nyc mocha"
},
"dependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.10",
"@types/helmet": "0.0.42",
"@types/jsonwebtoken": "^8.5.1",
"api-error-handler": "^1.0.0",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"class-validator": "^0.9.1",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^3.23.3",
"jsonwebtoken": "^8.5.1",
"mocha": "^6.2.3",
"moment": "^2.29.1",
"mongodb": "^3.6.6",
"mysql": "^2.18.1",
"prettier": "^1.19.1",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.1.6",
"ts-node": "^3.3.0",
"ts-node-dev": "^1.1.6",
"tsoa": "^2.5.14",
"typeorm": "^0.2.32"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/mocha": "^5.2.7",
"@types/node": "^8.10.66",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"husky": "^7.0.4",
"jsdom": "^15.2.1",
"nyc": "^14.1.1",
"source-map-support": "^0.5.19",
"typescript": "^3.9.10"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"include": "**/src/**/*",
"exclude": [
"**/router/**",
"**/migration/**",
"tests/**"
],
"reporter": [
"text",
"lcov"
]
}
}