build command

This commit is contained in:
cupcakearmy 2022-12-26 22:46:34 +01:00
parent 5628d9009a
commit db2512d793
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F

View File

@ -11,11 +11,12 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",
"build": "svelte-kit sync && svelte-package", "build": "vite build",
"package": "svelte-kit sync && svelte-package",
"prepublishOnly": "echo 'Did you mean to publish `./package/`, instead of `./`?' && exit 1", "prepublishOnly": "echo 'Did you mean to publish `./package/`, instead of `./`?' && exit 1",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"publish": "rm -rf ./package && pnpm run check && pnpm run build && pnpm publish ./package" "publish": "rm -rf ./package && pnpm run check && pnpm run package && pnpm publish ./package"
}, },
"devDependencies": { "devDependencies": {
"@floating-ui/core": "^1.0.5", "@floating-ui/core": "^1.0.5",