Skip to content

Commit

Permalink
fix: package.json scripts again.
Browse files Browse the repository at this point in the history
  • Loading branch information
KW-M committed Sep 27, 2024
1 parent e1b9e26 commit fb7fc0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"build:examples": "pnpm run precompile:examples; vite build --config examples/vite.config.js",
"preview:examples": "vite preview --config examples/vite.config.js --host",
"copy-dist-pkg": "cp -r ./dist ./dist/dist && cp ./LICENSE ./dist/LICENSE && cp ./package.json ./dist/package.json && cp ./pnpm-lock.yaml ./dist/pnpm-lock.yaml",
"prepub": "rm -r ./dist && pnpm run precompile:examples && pnpm run build:lib && pnpm run build:examples && pnpm run test && pnpm run copy-dist-pkg",
"pub": "np --no-tests --no-publish && pnpm publish ./dist",
"prepub": "(rm -r ./dist || true) && pnpm run precompile:examples && pnpm run build:lib && pnpm run build:examples && pnpm run test",
"pub": "np --no-tests --no-publish && pnpm run copy-dist-pkg && pnpm publish ./dist",
"postpub": "rm -r ./dist",
"pub-preview": "np --preview"
},
Expand Down

0 comments on commit fb7fc0c

Please sign in to comment.