aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/svelte/package.json
blob: 96e748b6a2140316207a5564fd2610c5f1e238b9 (plain) (blame)
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
{
  "name": "@astrojs/svelte",
  "version": "7.0.6",
  "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": "./client.svelte.js",
    "./server.js": "./server.js",
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "client.svelte.js",
    "server.js",
    "server.d.ts",
    "context.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": {
    "@sveltejs/vite-plugin-svelte": "^5.0.3",
    "svelte2tsx": "^0.7.35",
    "vite": "^6.2.2"
  },
  "devDependencies": {
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "svelte": "^5.23.2"
  },
  "peerDependencies": {
    "astro": "^5.0.0",
    "svelte": "^5.1.16",
    "typescript": "^5.3.3"
  },
  "engines": {
    "node": "^18.17.1 || ^20.3.0 || >=22.0.0"
  },
  "publishConfig": {
    "provenance": true
  }
}