-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
210 lines (210 loc) · 6.8 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "cra-template-must-have-libraries",
"title": "A Professional Starter Nextjs with Must-Have Libraries (MHL)",
"description": "A starter CRA professional React v17 project with must-have ReactJS libraries including TypeScript, SCSS, Redux, Toolkit, Material-UI, Styled Components, React Router, Jest & Enzym, Folder structure, Generate templates, ESLint, Prettier, Recoil",
"version": "17.0.100",
"license": "MIT",
"author": {
"name": "Eli Elad Elrom",
"email": "elad.ny@gmail.com",
"url": "https://elielrom.com"
},
"homepage": "https://elielrom.com",
"repository": {
"type": "git",
"url": "https://github.com/EliEladElrom/cra-template-must-have-libraries",
"directory": "/"
},
"bugs": {
"url": "https://github.com/EliEladElrom/cra-template-must-have-libraries/issues"
},
"engines": {
"node": ">=10"
},
"main": "template.json",
"keywords": [
"react",
"create-react-app",
"cra-template",
"template",
"SCSS",
"reactjs",
"react v17",
"TypeScript",
"Redux Toolkit",
"Recoil",
"enzyme",
"redux",
"react-redux",
"Material-UI",
"Enzym",
"Styled Components",
"react-router",
"Folder structure",
"Generate templates",
"react-router-dom",
"ESLint",
"prettier"
],
"files": [
"template",
"template.json"
],
"private": false,
"dependencies": {
"@babel/helper-builder-react-jsx": "7.16.0",
"@material-ui/core": "4.11.4",
"@material-ui/icons": "4.11.2",
"@octokit/core": "3.5.1",
"@octokit/plugin-request-log": "1.0.2",
"@reduxjs/toolkit": "1.6.0",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "9.3.2",
"@testing-library/user-event": "7.1.2",
"@types/classnames": "2.2.10",
"@types/enzyme": "3.10.8",
"@types/jest": "26.0.9",
"@types/node": "14.0.27",
"@types/react": "16.9.44",
"@types/react-dom": "16.9.8",
"@types/react-helmet": "6.1.0",
"@types/react-redux": "7.1.9",
"@types/react-router-dom": "5.1.5",
"@types/sinon": "10.0.6",
"@types/styled-components": "5.1.2",
"@typescript-eslint/eslint-plugin": "3.8.0",
"@typescript-eslint/parser": "3.8.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.3",
"add": "2.0.6",
"babel-eslint": "10.1.0",
"classnames": "2.2.6",
"enzyme": "3.11.0",
"enzyme-to-json": "3.6.1",
"eslint-config-airbnb-typescript": "12.3.1",
"eslint-config-prettier": "8.3.0",
"eslint-config-react-app": "5.2.1",
"eslint-import-resolver-typescript": "2.2.0",
"eslint-loader": "4.0.2",
"eslint-plugin-flowtype": "6.1.0",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-jest": "26.1.1",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "7.29.2",
"eslint-plugin-react-hooks": "4.0.8",
"eslint-webpack-plugin": "2.1.0",
"istanbul-reports": "3.0.2",
"moment": "2.29.1",
"node-sass": "4.14.1",
"nyc": "15.1.0",
"prettier-eslint": "13.0.0",
"prettier-eslint-cli": "5.0.0",
"prop-types": "15.7.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-helmet": "6.1.0",
"react-redux": "7.2.6",
"react-router-dom": "5.2.0",
"react-scripts": "3.4.1",
"react-test-renderer": "16.14.0",
"react-uuid": "1.0.2",
"recoil": "0.6.1",
"redux": "4.1.2",
"scss-loader": "0.0.1",
"serve": "11.3.2",
"sinon": "9.2.0",
"styled-components": "5.1.1",
"ts-jest": "26.4.3",
"typescript": "4.2.3",
"typings-for-scss-modules-loader": "1.5.1",
"yarn": "1.22.17"
},
"scripts": {
"start": "react-scripts start",
"dev": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"build:serve": "yarn build && serve -s build",
"build:profile": "yarn build --profile && serve -s build",
"coverage": "npm test -- --coverage --watchAll=false",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"coveralls-nyc": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"test:clean": "rimraf ./coverage",
"test:e2e": "jest -c e2e/jest.config.js --env=puppeteer",
"test:e2e-alone": "node e2e/puppeteer_standalone.js",
"test:e2e-watch": "jest -c e2e/jest.config.js --watch",
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
"eject": "react-scripts eject",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
"format": "prettier --write 'src/**/*.{ts,tsx,scss,css,json}'",
"isready": "yarn format && yarn lint && yarn test --watchAll=false && yarn analyze",
"clean-files": "rm -rf ./template/public ./template/src ./template/templates ./template/e2e && rm -f ./template/gitignore ./template/.eslintignore ./template/generate-react-cli.json ./template/.eslintrc ./template/.prettierrc ./template/README.md ./template/README_CRA.md ./template/tsconfig.json ./template/jest-puppeteer.config.js ./template/.env",
"copy-files": "cp -a ./src/. template/src && cp -a .gitignore template/gitignore && cp -a ./public/. template/public && cp -a ./templates/. template/templates && cp -a ./e2e/. template/e2e && cp .eslintignore .eslintrc .prettierrc tsconfig.json README.md README_CRA.md generate-react-cli.json jest-puppeteer.config.js .env template/",
"prepublishOnly": "yarn clean-files && yarn copy-files",
"analyze": "yarn build && source-map-explorer 'build/static/js/*.js'",
"analyzer": "yarn build && npx cra-bundle-analyzer"
},
"husky": {
"hooks": {
"pre-commit": "yarn isready && yarn prepublishOnly && yarn test:e2e && yarn coverage"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"coveralls": "3.1.0",
"cra-bundle-analyzer": "0.1.0",
"husky": "4.3.0",
"jest": "27.4.3",
"react-snap": "1.23.0",
"@types/expect-puppeteer": "4.4.7",
"@types/jest-environment-puppeteer": "4.4.1",
"@types/puppeteer": "5.4.4",
"jest-puppeteer": "6.0.2",
"puppeteer": "12.0.1"
},
"jest": {
"coverageReporters": [
"json",
"text",
"html",
"lcov"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*/*.d.ts",
"!src/**/*/Loadable.{js,jsx,ts,tsx}",
"!src/**/*/types.ts",
"!src/**/store.ts",
"!src/index.tsx",
"!src/serviceWorker.ts",
"!<rootDir>/node_modules/",
"!**/templates/**",
"!**/template/**"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}