Skip to content

Commit

Permalink
chore: reduce the dist size (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyewei authored Mar 19, 2024
1 parent 1da3d67 commit bb5eb7b
Show file tree
Hide file tree
Showing 6 changed files with 1,541 additions and 1,189 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,25 @@
},
"scripts": {
"dev": "esno packages",
"build:prepare": "rimraf dist",
"build:progress": "tsc -p . --noEmit && rollup --config rollup.config.ts --configPlugin esbuild",
"build:style": "esno scripts/buildStyle",
"build": "run-s build:progress build:style",
"build:style": "esno scripts/cssMinify.ts",
"build": "run-s build:prepare build:progress build:style",
"build:playground": "esno scripts/buildPlayground",
"build:all": "run-s build build:playground",
"release": "bumpp package.json --commit --push --tag",
"test": "vitest",
"test:coverage": "vitest --coverage"
},
"devDependencies": {
"@node-minify/clean-css": "^8.0.6",
"@node-minify/core": "^8.0.6",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.10.6",
"@vitest/coverage-istanbul": "^1.1.3",
Expand All @@ -56,6 +60,7 @@
"fs-extra": "^11.2.0",
"jsdom": "^23.2.0",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.5",
"rollup": "^4.9.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.0",
Expand All @@ -64,4 +69,4 @@
"dependencies": {
"typescript": "^5.3.3"
}
}
}
Loading

0 comments on commit bb5eb7b

Please sign in to comment.