forked from withastro/astro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) Β· 1.88 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "@astrojs/svelte",
"version": "5.7.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.13"
},
"devDependencies": {
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"svelte": "^4.2.18",
"vite": "^5.3.4"
},
"peerDependencies": {
"astro": "^4.0.0",
"svelte": "^4.0.0 || ^5.0.0-next.190",
"typescript": "^5.3.3"
},
"engines": {
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true
}
}