-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
97 lines (97 loc) · 3.22 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
{
"name": "styled-react-boilerplate",
"version": "1.0.0",
"description": "Minimal & Modern boilerplate for building apps with React & styled-components",
"scripts": {
"start": "NODE_ENV=development webpack-dev-server",
"build": "NODE_ENV=production webpack",
"now-build": "npm run build",
"test": "xo && stylelint './src/**/*.js' && jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"main": "src/index.js",
"repository": "https://github.com/xxczaki/styled-react-boilerplate",
"author": "Antoni Kepinski",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.2",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-styled-components": "^1.11.1",
"clean-css-loader": "^2.0.0",
"css-loader": "^4.2.2",
"eslint-config-xo-react": "^0.23.0",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"extract-css-chunks-webpack-plugin": "^4.7.5",
"file-loader": "^6.1.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^4.4.1",
"jest": "^26.4.2",
"react-refresh": "^0.8.3",
"script-ext-html-webpack-plugin": "^2.1.4",
"stylelint": "^13.7.0",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"terser-webpack-plugin": "^4.1.0",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-hot-middleware": "^2.25.0",
"webpack-pwa-manifest": "^4.2.0",
"workbox-webpack-plugin": "^5.1.3",
"xo": "^0.33.1"
},
"dependencies": {
"core-js": "^3.6.5",
"modern-normalize": "^1.0.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"styled-components": "^5.2.0"
},
"xo": {
"nodeVersion": ">=10",
"parser": "babel-eslint",
"envs": [
"node",
"browser",
"jest"
],
"extends": "xo-react",
"settings": {
"react": {
"version": "16.13"
}
},
"rules": {
"import/no-unassigned-import": "off",
"import/no-extraneous-dependencies": "off",
"unicorn/string-content": "off",
"promise/prefer-await-to-then": "off",
"no-negated-condition": "off",
"node/no-unsupported-features/es-syntax": "off",
"unicorn/no-reduce": "off"
}
},
"jest": {
"collectCoverageFrom": [
"**/*.{js,jsx}",
"!**/node_modules/**",
"!**/coverage/**",
"!**/dist/**",
"!**/sw.js",
"!**/index.js"
],
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
]
}
}