-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.72 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
{
"name": "backend",
"version": "1.0.0",
"scripts": {
"build": "tsc --build",
"clean": "rm -rf dist",
"serve:rest": "node dist/rest-server.js",
"serve:ws": "node dist/ws-server.js",
"typecheck": "tsc --incremental --noEmit",
"check": "npm run typecheck && npm run lint",
"lint": "prettier --check src; eslint src",
"fix": "prettier --write src; eslint src --fix",
"watch:build": "nodemon --watch src --ext ts --exec \"npm run clean && npm run build\"",
"watch:rest": "nodemon --watch dist --exec \"npm run serve:rest\"",
"watch:ws": "nodemon --watch dist --exec \"npm run serve:ws\"",
"db:drop": "typeorm schema:drop",
"db:sync": "typeorm schema:sync",
"seed": "node dist/db/seeds/seed.js",
"reseed": "npm run db:drop && npm run db:sync && npm run seed"
},
"dependencies": {
"@types/cors": "^2.8.8",
"app-root-path": "^3.0.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"morgan": "^1.10.0",
"pg": "^8.4.1",
"reflect-metadata": "^0.1.13",
"socket.io": "^2.3.0",
"typeorm": "^0.2.28",
"winston": "^3.3.3",
"yup": "^0.29.3"
},
"devDependencies": {
"@types/app-root-path": "^1.2.4",
"@types/express": "^4.17.8",
"@types/morgan": "^1.9.1",
"@types/node": "^14.11.8",
"@types/socket.io": "^2.1.11",
"@types/yup": "^0.29.8",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"nodemon": "^2.0.4",
"prettier": "^2.1.2",
"typescript": "^4.0.3"
},
"husky": {
"hooks": {
"pre-push": "npm run check"
}
}
}