55a0439e00
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "@astrojs/svelte",
|
|
"version": "2.2.0",
|
|
"description": "Use Svelte components within Astro",
|
|
"type": "module",
|
|
"types": "./dist/index.d.ts",
|
|
"author": "withastro",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git",
|
|
"directory": "packages/integrations/svelte"
|
|
},
|
|
"keywords": [
|
|
"astro-integration",
|
|
"astro-component",
|
|
"renderer",
|
|
"svelte"
|
|
],
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
"homepage": "https://docs.astro.build/en/guides/integrations-guide/svelte/",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./editor": "./dist/editor.cjs",
|
|
"./*": "./*",
|
|
"./client.js": "./client.js",
|
|
"./server.js": "./server.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"client.js",
|
|
"server.js"
|
|
],
|
|
"scripts": {
|
|
"build": "astro-scripts build \"src/index.ts\" && astro-scripts build \"src/editor.cts\" --force-cjs --no-clean-dist && tsc",
|
|
"build:ci": "astro-scripts build \"src/**/*.ts\" && astro-scripts build \"src/editor.cts\" --force-cjs --no-clean-dist",
|
|
"dev": "astro-scripts dev \"src/**/*.ts\""
|
|
},
|
|
"dependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^2.1.1",
|
|
"svelte2tsx": "^0.5.11"
|
|
},
|
|
"devDependencies": {
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"svelte": "^3.54.0",
|
|
"vite": "^4.3.1"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": "workspace:^2.5.5",
|
|
"svelte": "^3.54.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.12.0"
|
|
}
|
|
}
|