-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.09 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.09 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
{
"name": "phonebook_backend",
"version": "1.0.0",
"description": "fullstack open - part 3",
"main": "index.js",
"scripts": {
"start": "node index.js",
"start:app": "npm run build:ui && npm run start",
"dev": "nodemon index.js",
"build:ui": "rm -rf build && cd ../part_2/phonebook && REACT_APP_API_URL='/api/persons' npm run build && cp -r build ../../part_3/",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint .",
"fix": "prettier --write ./*.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"dotenv": "^8.2.0",
"express": "^4.17.1",
"lodash": "^4.17.19",
"mongoose": "^5.9.25",
"mongoose-unique-validator": "^2.0.3",
"morgan": "^1.10.0"
},
"devDependencies": {
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1"
},
"lint-staged": {
"*.js": "npm run lint"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && lint-staged"
}
}
}