-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.6 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "coinglaze",
"version": "0.1.0",
"private": true,
"dependencies": {
"apollo-cache-inmemory": "1.5.1",
"apollo-client": "2.5.1",
"apollo-link": "1.2.8",
"apollo-link-rest": "0.7.0",
"apollo-link-retry": "2.2.10",
"graphql": "14.1.1",
"graphql-anywhere": "4.2.1",
"graphql-tag": "2.10.1",
"p-throttle": "3.0.0",
"react": "16.8.3",
"react-apollo": "2.5.1",
"react-apollo-hooks": "0.4.3",
"react-dom": "16.8.3",
"react-scripts": "2.1.5",
"rebass": "3.0.1",
"styled-components": "4.1.3",
"styled-system": "4.0.1"
},
"scripts": {
"dependency-upgrade-check": "yarn upgrade-interactive --latest",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "cypress run",
"eject": "react-scripts eject",
"cypress:open": "cypress open",
"format": "prettier --list-different --write \"*/**/*.{ts,tsx,js,jsx,json,html,css}\"",
"precommit": "lint-staged",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public"
},
"eslintConfig": {
"extends": [
"react-app",
"react-hooks",
"cypress",
"chai-friendly",
"prettier"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2
}
},
"babelMacros": {
"styledComponents": {
"ssr": true
}
},
"prettier": {
"singleQuote": false,
"jsxBracketSameLine": false,
"trailingComma": "es5",
"endOfLine": "lf"
},
"lint-staged": {
"{src,cypress}/**/*.{ts,tsx,js,jsx,json,html,css}": [
"prettier --list-different --write",
"git add"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@babel/core": "7.2.2",
"@babel/plugin-proposal-class-properties": "7.3.0",
"@babel/preset-react": "7.0.0",
"@cypress/webpack-preprocessor": "4.0.3",
"@storybook/addon-actions": "4.1.13",
"@storybook/addon-knobs": "4.1.13",
"@storybook/addon-links": "4.1.13",
"@storybook/addon-viewport": "4.1.13",
"@storybook/addons": "4.1.13",
"@storybook/react": "4.1.13",
"babel-loader": "8.0.5",
"babel-plugin-macros": "2.5.0",
"cypress": "3.1.5",
"eslint-config-prettier": "4.1.0",
"eslint-plugin-chai-friendly": "0.4.1",
"eslint-plugin-cypress": "2.2.1",
"eslint-plugin-react-hooks": "^1.4.0",
"husky": "1.3.1",
"lint-staged": "8.1.5",
"prettier": "1.16.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}