Skip to content

Commit 1883d7c

Browse files
committed
Tidier build script
1 parent 0afb560 commit 1883d7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"dev": "vite dev",
88
"build:js": "vite build -c vite.dist.config.js",
99
"build:copy": "cd dist/dist && cp index.umd.js index.umd.cjs",
10-
"package": "npm run lint && svelte-package && npm run build:js && npm run build:copy && npx publint",
10+
"build": "svelte-package && npm run build:js && npm run build:copy",
11+
"package": "npm run lint && npm run build && npx publint",
1112
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
1213
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
1314
"format": "prettier --write .",

0 commit comments

Comments
 (0)