astro/packages/integrations/svelte/package.json

58 lines
1.5 KiB
JSON
Raw Normal View History

{
"name": "@astrojs/svelte",
"version": "3.1.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"
},
2023-05-17 08:54:00 +00:00
"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": {
2023-06-25 14:33:00 +00:00
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"svelte2tsx": "^0.6.15"
},
"devDependencies": {
"astro": "workspace:*",
"astro-scripts": "workspace:*",
2023-06-21 13:09:49 +00:00
"svelte": "^3.59.1",
2023-07-24 08:21:17 +00:00
"vite": "^4.4.6"
},
"peerDependencies": {
"astro": "workspace:^2.10.9",
2023-06-25 14:33:00 +00:00
"svelte": "^3.55.0 || ^4.0.0"
},
"engines": {
"node": ">=16.12.0"
}
}