-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.02 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
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "libraryapp-express-typescript-jest",
"version": "0.1.0",
"description": "Library App backend: Node.js express apps with TypeScript",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/TypeScript-Node-Starter"
},
"author": "Bowden Kelly",
"license": "MIT",
"scripts": {
"start": "npm run serve",
"build": "GENERATE_SOURCEMAP=false && npm run build-ts && npm run lint",
"serve": "node dist/server.js",
"watch-node": "nodemon dist/server.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"test": "jest --forceExit --detectOpenHandles --coverage --verbose false",
"watch-test": "npm run test -- --watchAll",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"debug": "npm run build && npm run watch-debug",
"serve-debug": "nodemon --inspect dist/server.js",
"watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run serve-debug\""
},
"dependencies": {
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.0",
"@types/jsonwebtoken": "^8.3.7",
"@types/lusca": "^1.7.0",
"@types/react-redux": "^7.1.20",
"axios": "^1.6.5",
"bcrypt": "^5.0.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"errorhandler": "^1.5.1",
"husky": "^4.2.3",
"jsonwebtoken": "^9.0.2",
"lint-staged": "^10.0.8",
"lodash": "^4.17.15",
"lusca": "^1.7.0",
"mongodb-memory-server": "^6.3.1",
"mongoose": "^8.0.4",
"mongoose-beautiful-unique-validation": "^7.1.1",
"nodemailer": "^6.9.8",
"passport": "^0.7.0",
"passport-local": "^1.0.0",
"react-router-dom": "^6.0.2",
"uuid": "^8.3.2",
"winston": "^3.2.1"
},
"devDependencies": {
"@types/concurrently": "^4.1.1",
"@types/cors": "^2.8.17",
"@types/errorhandler": "^0.0.32",
"@types/eslint": "^6.1.8",
"@types/express": "^4.17.21",
"@types/jest": "^24.9.1",
"@types/lodash": "^4.14.202",
"@types/mocha": "^9.1.1",
"@types/mongodb": "^4.0.7",
"@types/mongoose": "^5.11.97",
"@types/node": "^12.12.28",
"@types/node-sass": "^4.11.0",
"@types/nodemailer": "^6.4.0",
"@types/passport": "^1.0.16",
"@types/passport-local": "^1.0.38",
"@types/supertest": "^2.0.12",
"@types/uuid": "^9.0.7",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"concurrently": "^5.1.0",
"eslint": "^6.8.0",
"express": "^4.18.2",
"jest": "^26.6.3",
"nodemon": "^3.0.2",
"supertest": "^4.0.2",
"ts-jest": "^26.5.1",
"ts-node": "^8.6.2",
"typescript": "^4.5.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"eslint --fix"
]
}
}