Skip to content

Commit 0a6f258

Browse files
committed
👷 build: add bundle-analyzer
1 parent 7796c89 commit 0a6f258

File tree

2 files changed

+694
-634
lines changed

2 files changed

+694
-634
lines changed

‎package.json‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"start": "react-scripts start",
1313
"build": "react-scripts build",
1414
"test": "react-scripts test",
15+
"bundle-analyzer": "react-scripts build --stats && webpack-bundle-analyzer build/bundle-stats.json",
1516
"commit": "git-cz"
1617
},
1718
"dependencies": {
@@ -25,9 +26,10 @@
2526
"@types/echarts": "^4.1.8",
2627
"@types/jest": "^24.0.11",
2728
"@types/node": "^11.13.0",
28-
"@types/react": "^16.8.10",
29+
"@types/react": "^16.8.12",
2930
"@types/react-dom": "^16.8.3",
3031
"@types/react-router-dom": "^4.3.1",
32+
"babel-jest": "24.5.0",
3133
"commitizen": "^3.0.7",
3234
"cz-moe": "^0.0.2",
3335
"eslint-config-prettier": "^4.1.0",
@@ -37,7 +39,8 @@
3739
"stylelint": "^9.10.1",
3840
"stylelint-config-recommended-scss": "^3.2.0",
3941
"stylelint-scss": "^3.5.4",
40-
"typescript": "3.4.1",
41-
"typescript-plugin-css-modules": "^1.0.5"
42+
"typescript": "3.4.2",
43+
"typescript-plugin-css-modules": "^1.0.5",
44+
"webpack-bundle-analyzer": "^3.2.0"
4245
}
4346
}

0 commit comments

Comments
 (0)