2022-03-18 17:35:45 -05:00
|
|
|
{
|
|
|
|
"name": "@astrojs/preact",
|
|
|
|
"description": "Use Preact components within Astro",
|
2023-08-22 09:19:18 -05:00
|
|
|
"version": "3.0.0-rc.2",
|
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": {
|
2023-06-21 08:09:49 -05:00
|
|
|
"@babel/plugin-transform-react-jsx": "^7.22.5",
|
2023-08-11 09:05:02 -05:00
|
|
|
"@babel/plugin-transform-react-jsx-development": "^7.22.5",
|
|
|
|
"@preact/preset-vite": "^2.5.0",
|
2023-08-23 06:52:13 -05:00
|
|
|
"@preact/signals": "^1.2.1",
|
|
|
|
"babel-plugin-transform-hook-names": "^1.0.2",
|
2023-08-24 03:34:33 -05:00
|
|
|
"preact-render-to-string": "^6.2.1"
|
2022-03-18 17:35:45 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"astro": "workspace:*",
|
|
|
|
"astro-scripts": "workspace:*",
|
2023-08-23 06:52:13 -05:00
|
|
|
"preact": "^10.17.1"
|
2022-03-18 17:35:45 -05:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"preact": "^10.6.5"
|
|
|
|
},
|
|
|
|
"engines": {
|
2023-07-24 13:47:07 -05:00
|
|
|
"node": ">=18.14.1"
|
2022-03-18 17:35:45 -05:00
|
|
|
}
|
|
|
|
}
|