-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.23 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.23 KB
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
{
"name": "red-buffer-nodejs-backend-challenge",
"version": "1.0.0",
"main": "index.js",
"author": "Red Buffer Recruitment Team",
"license": "UNLICENSED",
"engines": {
"node": ">=12.16.2"
},
"scripts": {
"lint": "find . -path ./node_modules -prune -o -name '*.js' -print0 | xargs -0 prettier-check",
"format": "find . -path ./node_modules -prune -o -name '*.js' -print0 | xargs -0 prettier --write",
"start": "node bin/www",
"start:dev": "nodemon --inspect=9230 bin/www",
"test": "NODE_ENV=test jest",
"test:watch": "npm run test -- --watch",
"precommit": "lint-staged"
},
"dependencies": {
"body-parser": "^1.18.2",
"camelcase-keys": "^4.2.0",
"express": "^4.17.1",
"express-async-router": "^0.1.15",
"express-validation": "^1.0.2",
"joi": "^14.3.1"
},
"devDependencies": {
"husky": "^4.0.0",
"jest": "^25.0.0",
"lint-staged": "^10.0.0",
"nodemon": "^2.0.3",
"prettier": "^2.0.4",
"prettier-check": "^2.0.0",
"supertest": "^4.0.2"
},
"jest": {
"verbose": true,
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/"
]
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
}
}