Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jul 5, 2023
1 parent 250dd4b commit 45f25b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
"private": true,
"scripts": {
"watch": "bunchee -w",
"build": "bunchee --external client-only",
"build": "bunchee",
"types:check": "tsc --noEmit",
"clean": "rimraf dist"
},
"dependencies": {
"client-only": "*"
},
"peerDependencies": {
"swr": "*",
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"watch": "pnpm -r run watch",
"build": "pnpm build-package _internal && pnpm build-package core && pnpm build-package infinite && pnpm build-package immutable && pnpm build-package mutation && pnpm build-package subscription",
"build:e2e": "pnpm next build e2e/site",
"build-package": "bunchee --external client-only --cwd",
"build-package": "bunchee --cwd",
"types:check": "pnpm -r run types:check",
"prepublishOnly": "pnpm clean && pnpm build",
"publish-beta": "pnpm publish --tag beta",
Expand Down

0 comments on commit 45f25b1

Please sign in to comment.