This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathpackage.json
99 lines (99 loc) · 3.06 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
{
"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 6 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.2.7"
},
"main": "index.js",
"scripts": {
"test": "jest",
"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"
]
},
"jest": {
"testEnvironment": "jsdom",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-transform-runtime": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
"@svgr/webpack": "^5.5.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.2.1",
"autoprefixer": "^10.4.7",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.6",
"babel-loader": "^8.2.5",
"clean-webpack-plugin": "*",
"copy-webpack-plugin": "^9.0.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^3.0.2",
"dotenv-webpack": "^7.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"lint-staged": "^11.1.2",
"mini-css-extract-plugin": "^2.6.1",
"node-sass": "^6.0.1",
"postcss": "^8.4.14",
"postcss-import": "^14.1.0",
"postcss-loader": "^6.1.1",
"prettier": "^2.7.1",
"react-refresh": "^0.9.0",
"sass-loader": "^12.1.0",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.3",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.8.0"
}
}