summaryrefslogtreecommitdiff
path: root/packages/integrations/preact/package.json
blob: c36ffd9503beb184f94b9b263fea1093fdf1c31c (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
{
  "name": "@astrojs/preact",
  "description": "Use Preact components within Astro",
  "version": "4.0.7",
  "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/preact"
  },
  "keywords": [
    "astro-integration",
    "astro-component",
    "renderer",
    "preact"
  ],
  "bugs": "https://github.com/withastro/astro/issues",
  "homepage": "https://docs.astro.build/en/guides/integrations-guide/preact/",
  "exports": {
    ".": "./dist/index.js",
    "./client.js": "./dist/client.js",
    "./client-dev.js": "./dist/client-dev.js",
    "./server.js": "./dist/server.js",
    "./package.json": "./package.json"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "astro-scripts build \"src/**/*.ts\" && tsc",
    "build:ci": "astro-scripts build \"src/**/*.ts\"",
    "dev": "astro-scripts dev \"src/**/*.ts\""
  },
  "dependencies": {
    "@babel/plugin-transform-react-jsx": "^7.25.9",
    "@babel/plugin-transform-react-jsx-development": "^7.25.9",
    "@preact/preset-vite": "^2.10.1",
    "@preact/signals": "^2.0.2",
    "babel-plugin-transform-hook-names": "^1.0.2",
    "preact-render-to-string": "^6.5.13",
    "vite": "^6.2.3"
  },
  "devDependencies": {
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "preact": "^10.26.4"
  },
  "peerDependencies": {
    "preact": "^10.6.5"
  },
  "engines": {
    "node": "^18.17.1 || ^20.3.0 || >=22.0.0"
  },
  "publishConfig": {
    "provenance": true
  }
}