-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.59 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
{
"name": "canonical",
"private": true,
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/styled-components",
"**/styled-components/**"
]
},
"scripts": {
"server": "yarn workspace @canonical/server start",
"web": "yarn workspace @canonical/web start",
"dev:web": "concurrently -n web,server --kill-others \"yarn web\" \"yarn server\"",
"test:web": "yarn workspace @canonical/web test",
"test:server": "yarn workspace @canonical/server test",
"precommit": "yarn lint-staged"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.3",
"@babel/node": "^7.2.2",
"@types/dotenv": "^6.1.1",
"@types/graphql": "^14.0.4",
"@types/jest": "^24.0.11",
"@types/react": "^16.8.13",
"@types/react-test-renderer": "^16.8.1",
"@types/styled-components": "4.1.14",
"@typescript-eslint/eslint-plugin": "^1.7.0",
"@typescript-eslint/parser": "^1.7.0",
"concurrently": "^4.1.0",
"eslint": "5.16.0",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-config-react-app": "4.0.0",
"husky": "^2.2.0",
"lint-staged": "^8.1.5",
"prettier": "^1.17.0",
"typescript": "^3.4.5"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix --ext js,ts",
"prettier --write",
"git add"
],
"*.{jsx,tsx,json}|*rc|*config": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn precommit"
}
}
}