-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
44 lines (44 loc) · 1.16 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
{
"name": "express-best-practices",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"dev": "nodemon --exec ts-node -r tsconfig-paths/register src/index.ts",
"build": "npx tsc",
"start": "node -r ts-node/register/transpile-only -r tsconfig-paths/register dist/src/index.js",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"prepare": "husky install"
},
"dependencies": {
"@types/cors": "^2.8.12",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"module-alias": "^2.2.2",
"mongoose": "^6.4.6",
"winston": "^3.8.1"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/node": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"lint-staged": "^12.5.0",
"nodemon": "^2.0.19",
"plop": "^3.1.1",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.7.4"
},
"lint-staged": {
"*.ts": [
"npm run lint",
"git add ."
]
}
}