Use @sveltejs/package.

This commit is contained in:
Emmanuel 2022-08-20 19:43:14 +02:00
parent 675cb024d9
commit 7fdb3d37aa
2 changed files with 36 additions and 1 deletions

34
package-lock.json generated
View file

@ -15,6 +15,7 @@
"@playwright/test": "^1.22.2", "@playwright/test": "^1.22.2",
"@sveltejs/adapter-node": "^1.0.0-next.86", "@sveltejs/adapter-node": "^1.0.0-next.86",
"@sveltejs/kit": "^1.0.0-next.427", "@sveltejs/kit": "^1.0.0-next.427",
"@sveltejs/package": "^1.0.0-next.1",
"@tailwindcss/typography": "^0.5.3", "@tailwindcss/typography": "^0.5.3",
"@tricoteuses/explorer-tools": "^0.1.4", "@tricoteuses/explorer-tools": "^0.1.4",
"@types/fs-extra": "^9.0.13", "@types/fs-extra": "^9.0.13",
@ -279,6 +280,27 @@
"vite": "^3.0.0" "vite": "^3.0.0"
} }
}, },
"node_modules/@sveltejs/package": {
"version": "1.0.0-next.1",
"resolved": "https://registry.npmjs.org/@sveltejs/package/-/package-1.0.0-next.1.tgz",
"integrity": "sha512-U8XBk6Cfy8MjKG41Uyo+fqBpdhu7xUSnhiCNoODRaAtWV02RZoLh+McXrsxEvqi/ycgymctlhJhssqDnD+E+FA==",
"dev": true,
"dependencies": {
"chokidar": "^3.5.3",
"kleur": "^4.1.4",
"sade": "^1.8.1",
"svelte2tsx": "~0.5.10"
},
"bin": {
"svelte-package": "svelte-package.js"
},
"engines": {
"node": ">=16.9"
},
"peerDependencies": {
"svelte": "^3.44.0"
}
},
"node_modules/@sveltejs/vite-plugin-svelte": { "node_modules/@sveltejs/vite-plugin-svelte": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.1.tgz", "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.1.tgz",
@ -3922,6 +3944,18 @@
"undici": "^5.8.1" "undici": "^5.8.1"
} }
}, },
"@sveltejs/package": {
"version": "1.0.0-next.1",
"resolved": "https://registry.npmjs.org/@sveltejs/package/-/package-1.0.0-next.1.tgz",
"integrity": "sha512-U8XBk6Cfy8MjKG41Uyo+fqBpdhu7xUSnhiCNoODRaAtWV02RZoLh+McXrsxEvqi/ycgymctlhJhssqDnD+E+FA==",
"dev": true,
"requires": {
"chokidar": "^3.5.3",
"kleur": "^4.1.4",
"sade": "^1.8.1",
"svelte2tsx": "~0.5.10"
}
},
"@sveltejs/vite-plugin-svelte": { "@sveltejs/vite-plugin-svelte": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.1.tgz", "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.1.tgz",

View file

@ -17,7 +17,7 @@
"dev": "vite dev", "dev": "vite dev",
"format": "prettier --write --plugin-search-dir=. .", "format": "prettier --write --plugin-search-dir=. .",
"lint": "prettier --check --plugin-search-dir=. . && eslint .", "lint": "prettier --check --plugin-search-dir=. . && eslint .",
"package": "svelte-kit package", "package": "svelte-package",
"preview": "vite preview", "preview": "vite preview",
"test": "playwright test" "test": "playwright test"
}, },
@ -28,6 +28,7 @@
"@playwright/test": "^1.22.2", "@playwright/test": "^1.22.2",
"@sveltejs/adapter-node": "^1.0.0-next.86", "@sveltejs/adapter-node": "^1.0.0-next.86",
"@sveltejs/kit": "^1.0.0-next.427", "@sveltejs/kit": "^1.0.0-next.427",
"@sveltejs/package": "^1.0.0-next.1",
"@tailwindcss/typography": "^0.5.3", "@tailwindcss/typography": "^0.5.3",
"@tricoteuses/explorer-tools": "^0.1.4", "@tricoteuses/explorer-tools": "^0.1.4",
"@types/fs-extra": "^9.0.13", "@types/fs-extra": "^9.0.13",