-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.18 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
{
"name": "cinema-tickets",
"version": "1.0.0",
"scripts": {
"client": "cd client && npm start",
"server": "nodemon server.js",
"dev": "concurrently --kill-others-on-fail \"npm run server\" \"npm run client\"",
"start": "node server.js",
"heroku-postbuild": "cd client && npm install && npm install --only=dev --no-shrinkwrap && npm run build",
"lint:fix": "eslint src/*.js --fix",
"lint": "eslint src",
"test": "lint-staged",
"prettier": "prettier \"**/*.+(js|jsx|json|css|scss|ts|tsx)\" --write"
},
"dependencies": {
"body-parser": "^1.18.3",
"cors": "^2.8.5",
"express": "^4.16.4",
"mongoose": "^5.8.3",
"nodemailer": "^6.4.2",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"concurrently": "^4.0.1",
"eslint": "^6.8.0",
"eslint-plugin-flowtype": "^4.5.3",
"eslint-plugin-import": "^2.19.1",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1"
},
"lint-staged": {
"*.(js|html|css)": [
"prettier --write",
"git add"
],
".js": [
"npm run lint:fix",
"npm run lint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}