diff options
Diffstat (limited to 'packages/integrations/svelte/package.json')
-rw-r--r-- | packages/integrations/svelte/package.json | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json new file mode 100644 index 000000000..33a07c9bd --- /dev/null +++ b/packages/integrations/svelte/package.json @@ -0,0 +1,58 @@ +{ + "name": "@astrojs/svelte", + "version": "7.1.0", + "description": "Use Svelte components within Astro", + "type": "module", + "types": "./dist/index.d.ts", + "author": "withastro", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+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": "./dist/client.svelte.js", + "./server.js": "./dist/server.js", + "./package.json": "./package.json" + }, + "files": [ + "dist" + ], + "scripts": { + "build": "astro-scripts build \"src/**/*.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": "^5.0.3", + "svelte2tsx": "^0.7.39", + "vite": "^6.3.5" + }, + "devDependencies": { + "astro": "workspace:*", + "astro-scripts": "workspace:*", + "svelte": "^5.33.14" + }, + "peerDependencies": { + "astro": "^5.0.0", + "svelte": "^5.1.16", + "typescript": "^5.3.3" + }, + "engines": { + "node": "18.20.8 || ^20.3.0 || >=22.0.0" + }, + "publishConfig": { + "provenance": true + } +} |