Skip to content

Commit

Permalink
fixup! feat: [ts-starter #8] add script for bundle size analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanmmd committed Mar 23, 2024
1 parent 3a41882 commit 19ba11e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"preinstall": "npx only-allow pnpm",
"dev": "webpack serve",
"build": "webpack --mode production",
"stats": "webpack --mode production --profile --json > stats.json",
"bundle-stats": "webpack --mode production --profile --json > stats.json",
"show-bundle-analysis": "pnpm dlx webpack-bundle-analyzer stats.json",
"bundle-analysis": "pnpm stats && pnpm dlx webpack-bundle-analyzer stats.json",
"lint": "eslint . --max-warnings=0 --ext js,cjs,mjs,ts,tsx",
"typecheck": "tsc --project ./src/tsconfig.json",
Expand All @@ -17,10 +18,7 @@
"prepare": "husky install",
"test:unit": "jest test/unit",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"bundle-stats" : "webpack --profile --json > stats.json",
"show-bundle-analysis": "pnpm dlx webpack-bundle-analyzer stats.json",
"analyse-bundle": "webpack --profile --json > stats.json && pnpm dlx webpack-bundle-analyzer stats.json"
"build-storybook": "storybook build"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 19ba11e

Please sign in to comment.