summaryrefslogtreecommitdiff
path: root/packages/integrations/svelte/package.json
blob: 027ca892fe02473c8e0cd743377d94550790df2f (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
{
  "name": "@astrojs/svelte",
  "version": "7.0.13",
  "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": "./dist/client.svelte.js",
    "./server.js": "./dist/server.js",
    "./package.json": "./package.json"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "astro-scripts build \"src/**/*.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.39",
    "vite": "^6.3.5"
  },
  "devDependencies": {
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "svelte": "^5.32.1"
  },
  "peerDependencies": {
    "astro": "^5.0.0",
    "svelte": "^5.1.16",
    "typescript": "^5.3.3"
  },
  "engines": {
    "node": "18.20.8 || ^20.3.0 || >=22.0.0"
  },
  "publishConfig": {
    "provenance": true
  }
}