forked from altafino/react-webpack-5-tailwind-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.63 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
{
"author": {
"name": "Stefan Wüthrich",
"url": "https://altafino.com"
},
"keywords": [
"react",
"reactjs",
"webpack",
"boilerplate",
"tailwind"
],
"license": "MIT",
"name": "react-webpack-5-tailwind-2",
"version": "1.0.1",
"description": "Webpack 5 boilerplate with React 17, Tailwind 2, using babel, sass, with HMR and an optimized production build",
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"tailwindcss": "^2.0.4"
},
"main": "index.js",
"scripts": {
"start": "webpack serve --config config/webpack.dev.js",
"build": "NODE_ENV=production webpack --config config/webpack.prod.js",
"build-staging": "NODE_ENV=production webpack --config config/webpack.stag.js",
"prettify": "yarn prettier \"**/*.*(js|jsx)\" --ignore-path=.prettierignore --write",
"lint": "eslint src --ext .js,.jsx && yarn prettify",
"lint-fix": "eslint src --ext .js,.jsx --fix && yarn prettify",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged --verbose"
}
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix"
]
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.12.13",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
"@svgr/webpack": "^5.5.0",
"autoprefixer": "^10.2.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^7.0.0",
"css-loader": "^5.2.0",
"css-minimizer-webpack-plugin": "^1.3.0",
"dotenv-webpack": "^6.0.4",
"eslint": "^7.22.0",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"html-webpack-plugin": "^5.3.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.3.9",
"node-sass": "^5.0.0",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss": "^8.2.8",
"postcss-import": "^14.0.0",
"postcss-loader": "^5.2.0",
"prettier": "^2.2.1",
"react-refresh": "^0.9.0",
"sass-loader": "^11.0.1",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.1.1",
"webpack": "^5.28.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.7.3"
}
}