-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 2.17 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
{
"name": "src",
"version": "0.0.7",
"private": true,
"main": "dist/src/server.js",
"description": "A best practices express/ts server with clustering and socket.io",
"scripts": {
"start": "pm2-runtime start ./dist/src/server.js --env production -i max",
"start:dev": "ts-node-dev --respawn --transpile-only ./src/server.ts",
"poststart": "pm2 logs",
"postinstall": "yarn build && husky install",
"build": "tsc",
"migrate": "ts-node src/migrations.ts",
"eslint": "eslint --quiet --fix",
"prettier": "prettier src/**/*.ts --write",
"lint": "yarn prettier && yarn eslint",
"test": "NODE_ENV=test nyc mocha"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "NODE_ENV=test yarn test && yarn build && yarn version --patch"
}
},
"lint-staged": {
"*.{js,ts}": "yarn lint"
},
"dependencies": {
"bcrypt": "^5.0.1",
"compression": "^1.7.4",
"cookie-parser": "~1.4.6",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "~4.17.1",
"express-validator": "^6.14.0",
"helmet": "^4.6.0",
"jsend": "^1.1.0",
"morgan": "~1.10.0",
"multer": "^1.4.4",
"pg": "^8.7.1",
"pg-hstore": "^2.3.4",
"pm2": "^5.1.2",
"sequelize": "^6.12.0-beta.2",
"socket.io": "^4.4.0",
"umzug": "^2.3.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/express": "^4.17.13",
"@types/jsend": "^1.0.29",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.12",
"@types/umzug": "^2.3.3",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"chai": "^4.3.4",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"faker": "^5.5.3",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"supertest": "^6.1.6",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.3"
},
"repository": "[email protected]:HoukasaurusRex/boilerplate-express-ts-server.git",
"author": "JT Houk <[email protected]> (https://jt.houk.space/)",
"license": "MIT"
}