Skip to content

Commit

Permalink
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 4baa04f commit 3c40bce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
"preinstall": "npx only-allow pnpm",
"dev": "webpack serve",
"build": "webpack --mode production",
"stats": "webpack --mode production --profile --json > stats.json",
"bundle-analysis": "pnpm stats && pnpm dlx webpack-bundle-analyzer stats.json",
"bundle-stats": "webpack --mode production --profile --json > stats.json",
"show-bundle-analysis": "pnpm dlx webpack-bundle-analyzer stats.json",
"bundle-analysis": "pnpm bundle-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",
"format": "prettier --write .",
Expand All @@ -18,7 +19,6 @@
"test:unit": "jest test/unit",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"

},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 3c40bce

Please sign in to comment.