9f067dca27
* chore: remove changesets patch * chore: add changesets * chore: version packages * chore: normalize formatting * chore: update lockfile * chore: fix codeblocks * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: fixup code samples * chore: move v0.25 message out of note Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"name": "@astrojs/svelte",
|
|
"version": "1.0.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"
|
|
},
|
|
"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": "^1.0.1",
|
|
"postcss-load-config": "^3.1.4",
|
|
"svelte-preprocess": "^4.10.7",
|
|
"svelte2tsx": "^0.5.11",
|
|
"vite": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"svelte": "^3.48.0"
|
|
},
|
|
"peerDependencies": {
|
|
"svelte": "^3.46.4"
|
|
},
|
|
"engines": {
|
|
"node": "^14.18.0 || >=16.12.0"
|
|
}
|
|
}
|