-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.json
126 lines (126 loc) · 3.08 KB
/
template.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"package": {
"private": true,
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "craco build",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"generate-coverage-report": "nyc report --reporter=text-lcov > coverage.lcov",
"lint": "eslint . --cache",
"start": "craco start",
"start:for-cypress": "craco -r @cypress/instrument-cra start",
"test": "npm run lint && start-server-and-test start:for-cypress :3000 cypress:run"
},
"browserslist": {
"production": [
">1%",
"not dead",
"not op_mini all",
"not ie > 0",
"not ie_mob > 0"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"prettier": "@iamnapo/prettier-config",
"eslintConfig": {
"plugins": [
"cypress"
],
"extends": [
"plugin:cypress/recommended",
"iamnapo/with-react"
],
"rules": {
"unicorn/prefer-module": "off"
},
"overrides": [
{
"files": [
"src/service-worker.js"
],
"rules": {
"no-restricted-globals": "off"
}
},
{
"files": [
"cypress/**/*"
],
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
]
}
}
],
"ignorePatterns": [
"build",
"coverage"
]
},
"dependencies": {
"@craco/craco": "^6.1.2",
"@emotion/react": "^11.4.0",
"@emotion/styled": "^11.3.0",
"@fontsource/roboto": "^4.4.5",
"@iamnapo/construct-url": "^2.0.1",
"@material-ui/core": "^5.0.0-alpha.36",
"@material-ui/icons": "^5.0.0-alpha.36",
"@material-ui/lab": "^5.0.0-alpha.36",
"@sentry/browser": "^6.7.0",
"clsx": "^1.1.1",
"date-fns": "^2.22.1",
"history": "^5.0.0",
"ky": "^0.28.5",
"prop-types": "^15.7.2",
"query-string": "^7.0.0",
"react-ga": "^3.3.0",
"react-router-dom": "^6.0.0-beta.0",
"swr": "^0.5.6",
"web-vitals": "^2.0.1",
"workbox-background-sync": "^6.1.5",
"workbox-broadcast-update": "^6.1.5",
"workbox-cacheable-response": "^6.1.5",
"workbox-core": "^6.1.5",
"workbox-expiration": "^6.1.5",
"workbox-google-analytics": "^6.1.5",
"workbox-navigation-preload": "^6.1.5",
"workbox-precaching": "^6.1.5",
"workbox-range-requests": "^6.1.5",
"workbox-routing": "^6.1.5",
"workbox-strategies": "^6.1.5",
"workbox-streams": "^6.1.5",
"zustand": "^3.5.2"
},
"devDependencies": {
"@cypress/code-coverage": "^3.9.6",
"@cypress/instrument-cra": "^1.4.0",
"@iamnapo/prettier-config": "^1.0.3",
"babel-plugin-import": "^1.13.3",
"cypress": "^7.4.0",
"dotenv": "^10.0.0",
"eslint": "^7.27.0",
"eslint-config-iamnapo": "^15.0.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-unicorn": "^33.0.1",
"sass": "^1.34.1",
"source-map-explorer": "^2.5.2",
"start-server-and-test": "^1.12.3"
},
"engines": {
"node": ">=14"
}
}
}