summaryrefslogtreecommitdiff
path: root/packages/integrations/react/package.json
blob: 7d2aa0b79d428c96d7fd0d538e6929be6f216c28 (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
{
  "name": "@astrojs/react",
  "description": "Use React components within Astro",
  "version": "0.1.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/react"
  },
  "keywords": [
    "astro-component",
    "renderer",
    "react"
  ],
  "bugs": "https://github.com/withastro/astro/issues",
  "homepage": "https://astro.build",
  "exports": {
    ".": "./dist/index.js",
    "./client.js": "./client.js",
    "./client-v17.js": "./client-v17.js",
    "./server.js": "./server.js",
    "./server-v17.js": "./server-v17.js",
    "./package.json": "./package.json",
    "./jsx-runtime": "./jsx-runtime.js"
  },
  "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.17.3"
  },
  "devDependencies": {
    "@types/react": "^17.0.44",
    "@types/react-dom": "^17.0.15",
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "react": "^18.0.0",
    "react-dom": "^18.0.0"
  },
  "peerDependencies": {
    "react": "^17.0.2 || ^18.0.0",
    "react-dom": "^17.0.2 || ^18.0.0"
  },
  "engines": {
    "node": "^14.15.0 || >=16.0.0"
  }
}