2022-03-18 17:35:45 -05:00
|
|
|
{
|
|
|
|
"name": "@astrojs/preact",
|
|
|
|
"description": "Use Preact components within Astro",
|
2024-04-11 06:24:47 -05:00
|
|
|
"version": "3.2.0",
|
2022-03-18 17:35:45 -05:00
|
|
|
"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"
|
|
|
|
},
|
2022-03-21 14:31:15 -05:00
|
|
|
"keywords": [
|
2022-07-08 15:55:33 -05:00
|
|
|
"astro-integration",
|
2022-03-21 14:31:15 -05:00
|
|
|
"astro-component",
|
|
|
|
"renderer",
|
|
|
|
"preact"
|
|
|
|
],
|
2022-03-18 17:35:45 -05:00
|
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
2022-07-11 14:10:34 -05:00
|
|
|
"homepage": "https://docs.astro.build/en/guides/integrations-guide/preact/",
|
2022-03-18 17:35:45 -05:00
|
|
|
"exports": {
|
|
|
|
".": "./dist/index.js",
|
2022-10-10 08:01:15 -05:00
|
|
|
"./client.js": "./dist/client.js",
|
|
|
|
"./client-dev.js": "./dist/client-dev.js",
|
|
|
|
"./server.js": "./dist/server.js",
|
2022-03-18 17:35:45 -05:00
|
|
|
"./package.json": "./package.json"
|
|
|
|
},
|
2023-05-17 03:54:00 -05:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2022-03-18 17:35:45 -05:00
|
|
|
"scripts": {
|
|
|
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
2022-03-23 19:46:16 -05:00
|
|
|
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
2022-03-18 17:35:45 -05:00
|
|
|
"dev": "astro-scripts dev \"src/**/*.ts\""
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-04-22 09:52:30 -05:00
|
|
|
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
2023-08-11 09:05:02 -05:00
|
|
|
"@babel/plugin-transform-react-jsx-development": "^7.22.5",
|
2024-04-22 09:52:30 -05:00
|
|
|
"@preact/preset-vite": "^2.8.2",
|
|
|
|
"@preact/signals": "^1.2.3",
|
2023-08-23 06:52:13 -05:00
|
|
|
"babel-plugin-transform-hook-names": "^1.0.2",
|
2024-02-22 14:21:31 -05:00
|
|
|
"preact-render-to-string": "~6.3.1",
|
2024-01-04 06:01:08 -05:00
|
|
|
"preact-ssr-prepass": "^1.2.1"
|
2022-03-18 17:35:45 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"astro": "workspace:*",
|
|
|
|
"astro-scripts": "workspace:*",
|
2024-04-22 09:52:30 -05:00
|
|
|
"preact": "^10.20.2"
|
2022-03-18 17:35:45 -05:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"preact": "^10.6.5"
|
|
|
|
},
|
|
|
|
"engines": {
|
2024-04-10 08:53:55 -05:00
|
|
|
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
2023-10-03 09:25:25 -05:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"provenance": true
|
2022-03-18 17:35:45 -05:00
|
|
|
}
|
|
|
|
}
|