-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.25 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
{
"name": "my-good-reads",
"version": "0.1.0",
"private": true,
"dependencies": {
"@reach/router": "^1.3.4",
"@reach/visually-hidden": "^0.11.0",
"axios": "^0.20.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.13",
"localforage": "^1.9.0",
"lodash.debounce": "^4.0.8",
"polished": "^3.6.6",
"prettier": "^2.1.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-loading": "^2.0.3",
"react-scripts": "3.4.3",
"remove": "^0.1.5",
"rollbar": "^2.19.3",
"typescript": "~4.0.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test:unit": "react-scripts test",
"test:e2e": "cypress run",
"eject": "react-scripts eject",
"lint:js": "eslint .",
"lint:css": "stylelint './src/**/*.+(js|ts|jsx|tsx)'",
"format": "prettier --write \"**/*.+(js|jsx|ts|tsx|json|yml|yaml|scss|css|md)\"",
"lint": "npm run lint:js && npm run lint:css && npm run format"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
],
"src/**/*.{js,jsx,ts,tsx}": [
"stylelint",
"eslint --fix"
]
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:jsx-a11y/recommended"
],
"ignorePatterns": [
"cypress/**/*"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"cypress": "^5.0.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^10.4.9",
"@testing-library/user-event": "^12.1.3",
"@types/jest": "^26.0.10",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^14.6.0",
"@types/reach__router": "^1.3.5",
"@types/react": "^16.9.48",
"@types/react-dom": "^16.9.8",
"@types/styled-components": "^5.1.2",
"react-axe": "^3.5.3",
"styled-components": "^5.1.1",
"stylelint": "^13.6.1",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0"
}
}