|
1 | 1 | {
|
2 | 2 | "name": "webpack-typescript-react",
|
3 |
| - "version": "0.0.9", |
4 |
| - "description": "", |
5 |
| - "license": "ISC", |
6 |
| - "author": "", |
7 |
| - "main": "index.js", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "Webpack 5 boilerplate with support of most common loaders and modules", |
| 5 | + "keywords": [ |
| 6 | + "react", |
| 7 | + "typescript", |
| 8 | + "webpack", |
| 9 | + "webpack 5", |
| 10 | + "webpack boilerplate" |
| 11 | + ], |
| 12 | + "repository": { |
| 13 | + "type": "git", |
| 14 | + "url": "[email protected]:glook/webpack-typescript-react.git" |
| 15 | + }, |
| 16 | + "license": "MIT", |
| 17 | + "author": "Andrey Polyakov <[email protected]>", |
| 18 | + "main": "webpack.config.babel.js", |
8 | 19 | "scripts": {
|
9 |
| - "build": "webpack --env.mode production", |
10 |
| - "start": "webpack-dev-server --env.mode dev --env.isDevServer true" |
| 20 | + "build": "webpack --config webpack.config.babel.js", |
| 21 | + "profile": "webpack --profile --json --config webpack.config.babel.js > ./dist/profile.json && webpack-bundle-analyzer ./dist/profile.json", |
| 22 | + "start": "webpack --env mode=dev --env isDevServer --env NODE_ENV=local serve --config webpack.config.babel.js" |
11 | 23 | },
|
12 | 24 | "husky": {
|
13 | 25 | "hooks": {
|
|
17 | 29 | },
|
18 | 30 | "dependencies": {
|
19 | 31 | "@types/classnames": "^2.2.10",
|
20 |
| - "@types/react": "^16.9.51", |
| 32 | + "@types/react": "^16.9.53", |
21 | 33 | "@types/react-dom": "^16.9.8",
|
22 | 34 | "classnames": "^2.2.6",
|
23 | 35 | "normalize.css": "^8.0.1",
|
24 |
| - "react": "^16.13.1", |
25 |
| - "react-dom": "^16.13.1" |
| 36 | + "react": "^17.0.1", |
| 37 | + "react-dom": "^17.0.1" |
26 | 38 | },
|
27 | 39 | "devDependencies": {
|
28 |
| - "@babel/core": "^7.11.6", |
29 |
| - "@babel/plugin-proposal-class-properties": "^7.10.4", |
30 |
| - "@babel/plugin-proposal-export-namespace-from": "^7.10.4", |
31 |
| - "@babel/plugin-proposal-object-rest-spread": "^7.11.0", |
32 |
| - "@babel/plugin-proposal-throw-expressions": "^7.10.4", |
33 |
| - "@babel/plugin-syntax-dynamic-import": "^7.8.3", |
34 |
| - "@babel/plugin-transform-runtime": "^7.11.5", |
35 |
| - "@babel/preset-env": "^7.11.5", |
36 |
| - "@babel/preset-react": "^7.10.4", |
37 |
| - "@babel/register": "^7.11.5", |
38 |
| - "@pmmmwh/react-refresh-webpack-plugin": "^0.4.2", |
39 |
| - "@svgr/webpack": "^5.4.0", |
40 |
| - "@teamsupercell/typings-for-css-modules-loader": "^2.3.0", |
41 |
| - "@typescript-eslint/eslint-plugin": "^4.4.0", |
42 |
| - "@typescript-eslint/parser": "^4.4.0", |
43 |
| - "autoprefixer": "^9.8.6", |
44 |
| - "babel-eslint": "^10.1.0", |
45 |
| - "babel-loader": "^8.1.0", |
46 |
| - "clean-webpack-plugin": "^3.0.0", |
47 |
| - "copy-webpack-plugin": "^6.2.0", |
48 |
| - "core-js": "^3.6.5", |
49 |
| - "css-loader": "4.3.0", |
50 |
| - "cssnano": "^4.1.10", |
51 |
| - "eslint": "^7.10.0", |
52 |
| - "eslint-config-airbnb-base": "^14.2.0", |
53 |
| - "eslint-config-airbnb-typescript": "^11.0.0", |
54 |
| - "eslint-config-prettier": "^6.12.0", |
55 |
| - "eslint-import-resolver-alias": "^1.1.2", |
56 |
| - "eslint-plugin-import": "^2.22.1", |
57 |
| - "eslint-plugin-jsx-a11y": "^6.3.1", |
58 |
| - "eslint-plugin-react": "^7.21.3", |
59 |
| - "eslint-plugin-react-hooks": "^4.1.2", |
60 |
| - "eslint-webpack-plugin": "^2.1.0", |
61 |
| - "expose-loader": "1.0.0", |
62 |
| - "extract-text-webpack-plugin": "^4.0.0-beta.0", |
63 |
| - "file-loader": "6.1.0", |
64 |
| - "fork-ts-checker-webpack-plugin": "^5.2.0", |
65 |
| - "html-loader": "^1.3.1", |
66 |
| - "html-webpack-plugin": "^4.5.0", |
67 |
| - "husky": "^4.3.0", |
68 |
| - "import-sort-style-module-and-prefix": "^0.1.3", |
69 |
| - "is-windows": "^1.0.2", |
70 |
| - "less": "^3.12.2", |
71 |
| - "less-loader": "^7.0.1", |
72 |
| - "lint-staged": "^10.4.0", |
73 |
| - "lodash": "^4.17.20", |
74 |
| - "mini-css-extract-plugin": "^0.11.3", |
75 |
| - "path": "^0.12.7", |
76 |
| - "postcss-loader": "4.0.3", |
77 |
| - "prettier": "^2.1.2", |
78 |
| - "prettier-plugin-import-sort": "0.0.6", |
79 |
| - "pretty-quick": "^3.0.2", |
80 |
| - "react-refresh": "^0.8.3", |
81 |
| - "regenerator-runtime": "^0.13.7", |
82 |
| - "resolve-url-loader": "^3.1.1", |
83 |
| - "sass": "^1.27.0", |
84 |
| - "sass-loader": "^10.0.2", |
85 |
| - "sass-resources-loader": "^2.1.1", |
86 |
| - "speed-measure-webpack-plugin": "^1.3.3", |
87 |
| - "style-loader": "1.3.0", |
88 |
| - "svg-url-loader": "^6.0.0", |
89 |
| - "terser-webpack-plugin": "^4.2.2", |
90 |
| - "thread-loader": "^3.0.0", |
91 |
| - "ts-loader": "^8.0.4", |
92 |
| - "typescript": "^4.0.3", |
93 |
| - "url-loader": "4.1.0", |
94 |
| - "webpack": "^4.44.2", |
95 |
| - "webpack-cli": "^3.3.12", |
96 |
| - "webpack-dev-server": "^3.11.0", |
97 |
| - "webpack-merge": "5.1.4", |
98 |
| - "webpack-serve": "^3.2.0", |
99 |
| - "webpack-stats-plugin": "0.3.2", |
100 |
| - "yargs": "^16.0.3" |
| 40 | + "@babel/core": "~7.12.3", |
| 41 | + "@babel/plugin-proposal-class-properties": "~7.12.1", |
| 42 | + "@babel/plugin-proposal-export-default-from": "^7.12.1", |
| 43 | + "@babel/plugin-proposal-export-namespace-from": "~7.12.1", |
| 44 | + "@babel/plugin-proposal-object-rest-spread": "~7.12.1", |
| 45 | + "@babel/plugin-proposal-throw-expressions": "~7.12.1", |
| 46 | + "@babel/plugin-syntax-dynamic-import": "~7.8.3", |
| 47 | + "@babel/plugin-transform-runtime": "~7.12.1", |
| 48 | + "@babel/preset-env": "~7.12.1", |
| 49 | + "@babel/preset-react": "~7.12.1", |
| 50 | + "@babel/register": "~7.12.1", |
| 51 | + "@pmmmwh/react-refresh-webpack-plugin": "~0.4.2", |
| 52 | + "@svgr/webpack": "~5.4.0", |
| 53 | + "@teamsupercell/typings-for-css-modules-loader": "~2.3.0", |
| 54 | + "@typescript-eslint/eslint-plugin": "~4.6.0", |
| 55 | + "@typescript-eslint/parser": "~4.6.0", |
| 56 | + "autoprefixer": "~10.0.1", |
| 57 | + "babel-eslint": "~10.1.0", |
| 58 | + "babel-loader": "~8.1.0", |
| 59 | + "clean-webpack-plugin": "~3.0.0", |
| 60 | + "copy-webpack-plugin": "~6.2.1", |
| 61 | + "core-js": "~3.6.5", |
| 62 | + "css-loader": "~5.0.0", |
| 63 | + "cssnano": "~4.1.10", |
| 64 | + "eslint": "~7.12.0", |
| 65 | + "eslint-config-airbnb-base": "~14.2.0", |
| 66 | + "eslint-config-airbnb-typescript": "~12.0.0", |
| 67 | + "eslint-config-prettier": "~6.14.0", |
| 68 | + "eslint-import-resolver-alias": "~1.1.2", |
| 69 | + "eslint-plugin-import": "~2.22.1", |
| 70 | + "eslint-plugin-jsx-a11y": "~6.4.1", |
| 71 | + "eslint-plugin-react": "~7.21.5", |
| 72 | + "eslint-plugin-react-hooks": "~4.2.0", |
| 73 | + "eslint-webpack-plugin": "~2.1.0", |
| 74 | + "fork-ts-checker-webpack-plugin": "~5.2.0", |
| 75 | + "html-loader": "~1.3.2", |
| 76 | + "html-webpack-plugin": "~5.0.0-alpha.6", |
| 77 | + "husky": "~4.3.0", |
| 78 | + "import-sort-style-module-and-prefix": "~0.1.3", |
| 79 | + "is-windows": "~1.0.2", |
| 80 | + "less": "~3.12.2", |
| 81 | + "less-loader": "~7.0.2", |
| 82 | + "lint-staged": "~10.5.0", |
| 83 | + "mini-css-extract-plugin": "~1.2.0", |
| 84 | + "path": "~0.12.7", |
| 85 | + "postcss-loader": "~4.0.4", |
| 86 | + "prettier": "~2.1.2", |
| 87 | + "prettier-plugin-import-sort": "~0.0.6", |
| 88 | + "pretty-quick": "~3.1.0", |
| 89 | + "react-refresh": "~0.9.0", |
| 90 | + "regenerator-runtime": "~0.13.7", |
| 91 | + "resolve-url-loader": "~3.1.2", |
| 92 | + "sass": "~1.27.0", |
| 93 | + "sass-loader": "~10.0.4", |
| 94 | + "sass-resources-loader": "~2.1.1", |
| 95 | + "style-loader": "~2.0.0", |
| 96 | + "svg-url-loader": "~6.0.0", |
| 97 | + "terser-webpack-plugin": "~5.0.1", |
| 98 | + "ts-loader": "~8.0.7", |
| 99 | + "typescript": "~4.0.3", |
| 100 | + "url-loader": "~4.1.1", |
| 101 | + "webpack": "~5.2.0", |
| 102 | + "webpack-bundle-analyzer": "~3.9.0", |
| 103 | + "webpack-cli": "~4.1.0", |
| 104 | + "webpack-dev-server": "~3.11.0", |
| 105 | + "webpack-merge": "~5.2.0", |
| 106 | + "yargs": "~16.1.0" |
101 | 107 | },
|
102 | 108 | "importSort": {
|
103 | 109 | ".ts, .tsx": {
|
|
0 commit comments