-
Notifications
You must be signed in to change notification settings - Fork 431
/
package.json
80 lines (80 loc) · 2.4 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
{
"name": "react-webpack-babel",
"version": "0.0.4",
"description": "React Webpack Babel Starter Kit",
"main": "''",
"engines": {
"node": "10.12.0"
},
"scripts": {
"clean": "shx rm -rf build",
"webpack": "webpack --config config/webpack.config.production.js",
"sass": "node-sass src/styles/index.scss build/index.css --output-style compressed",
"build": "npm run clean && npm run sass && npm run webpack",
"lint": "eslint src config",
"dev": "webpack-cli serve --mode development --config config/webpack.config.dev.js",
"test": "export NODE_ENV=test && jest",
"start": "serve -s build"
},
"repository": {
"type": "git",
"url": "https://github.com/ReactJSResources/react-webpack-babel"
},
"author": "ReactJSResources",
"license": "MIT",
"homepage": "https://github.com/ReactJSResources/react-webpack-babel#readme",
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"autoprefixer": "^10.0.2",
"babel-loader": "^8.2.0",
"babel-plugin-module-resolver": "^4.0.0",
"copy-webpack-plugin": "^6.3.0",
"css-loader": "^5.0.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"file-loader": "^5.1.0",
"history": "^4.10.1",
"html-webpack-plugin": "^4.5.0",
"jest": "^24.9.0",
"node-sass": "^5.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"sass-loader": "^10.0.5",
"serve": "^11.3.2",
"shx": "^0.3.3",
"style-loader": "^2.0.0",
"webpack": "^5.4.0",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0"
},
"jest": {
"verbose": true,
"bail": true,
"collectCoverage": true,
"coverageDirectory": "coverage",
"moduleNameMapper": {
"\\.(jpe?g|png|gif|eot|otf|webp|svg|ttf|woff2?|mp[34]|webm|wav|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|s[ac]ss|styl)$": "<rootDir>/__mocks__/styleMock.js"
},
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
]
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-standard": "^4.1.0"
}
}