-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
executable file
·56 lines (56 loc) · 1.43 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
{
"name": "guessthequote",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "npm run dev",
"setup": "npm i && cd ./client/ && npm i && cd ../server/ && npm i",
"client": "cd ./client/ && npm start",
"server": "cd ./server/ && npm start",
"dev": "concurrently \"npm run server\" \" npm run client\" ",
"test:client": "cd ./client/ && npm test",
"test:server": "cd ./server/ && npm test",
"test": "concurrently \"npm run test:server\" \" npm run test:client\" ",
"lint": "eslint {client,server}/**/*.{js,jsx}",
"format": "prettier **/*.{js,jsx,json,css} --write"
},
"repository": {
"type": "git",
"url": "https://github.com/twishasaraiya/GuessTheQuote"
},
"author": "",
"license": "ISC",
"devDependencies": {
"babel-eslint": "^8.2.3",
"concurrently": "^3.5.1",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-jest": "^21.15.1",
"eslint-plugin-react": "^7.7.0",
"husky": "^1.0.0-rc.1",
"lint-staged": "^7.0.4",
"prettier": "^1.12.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{client,server}/**/*.{js,jsx}": [
"eslint",
"prettier --write",
"git add"
],
"**/*.json": [
"prettier --write",
"git add"
],
"client/src/**/*.css": [
"prettier --write",
"git add"
]
},
"dependencies": {}
}