summaryrefslogtreecommitdiff
path: root/packages/integrations/preact/package.json
blob: 8ba9544e5b1c51de2bd634487a5d93a7d67541af (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": "3.5.0",
  "type": "module",
  "types": "./dist/index.d.ts",
  "author": "withastro",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "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.24.7",
    "@babel/plugin-transform-react-jsx-development": "^7.24.7",
    "@preact/preset-vite": "2.8.2",
    "@preact/signals": "^1.3.0",
    "babel-plugin-transform-hook-names": "^1.0.2",
    "preact-render-to-string": "~6.3.1",
    "preact-ssr-prepass": "^1.2.2"
  },
  "devDependencies": {
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "preact": "^10.22.1"
  },
  "peerDependencies": {
    "preact": "^10.6.5"
  },
  "engines": {
    "node": "^18.17.1 || ^20.3.0 || >=21.0.0"
  },
  "publishConfig": {
    "provenance": true
  }
}