Skip to content

Commit 698200f

Browse files
committed
chore: adjust package scripts
1 parent eaf6f0b commit 698200f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
"dist"
3131
],
3232
"scripts": {
33-
"prepack": "nuxt-module-build build",
33+
"build": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt-module-build build",
34+
"prepack": "pnpm build",
3435
"dev": "nuxt dev playground",
3536
"dev:build": "nuxt build playground",
3637
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
37-
"release": "npm run lint && npm run prepack && npm run test && changelogen --release && git push --follow-tags",
38+
"release": "pnpm lint && pnpm build && pnpm test && changelogen --release && git push --follow-tags",
3839
"lint": "eslint .",
3940
"lint:fix": "eslint . --fix",
4041
"test": "vitest run --reporter=verbose",

0 commit comments

Comments
 (0)