mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
47e78d4752
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
73 lines
1.9 KiB
JSON
73 lines
1.9 KiB
JSON
{
|
|
"name": "@astrojs/svelte",
|
|
"version": "5.6.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",
|
|
"./client-v5.js": "./client-v5.js",
|
|
"./server.js": {
|
|
"default": "./server.js",
|
|
"types": "./server.d.ts"
|
|
},
|
|
"./server-v5.js": {
|
|
"default": "./server-v5.js",
|
|
"types": "./server-v5.d.ts"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"client.js",
|
|
"client-v5.js",
|
|
"server.js",
|
|
"server.d.ts",
|
|
"server-v5.js",
|
|
"server-v5.d.ts"
|
|
],
|
|
"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": "^3.1.1",
|
|
"svelte2tsx": "^0.7.10"
|
|
},
|
|
"devDependencies": {
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"svelte": "^4.2.18",
|
|
"vite": "^5.3.1"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": "^4.0.0",
|
|
"svelte": "^4.0.0 || ^5.0.0-next.90",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"engines": {
|
|
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"provenance": true
|
|
}
|
|
}
|