mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
66bc1041d4
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "@astrojs/preact",
|
|
"description": "Use Preact components within Astro",
|
|
"version": "3.2.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.22.5",
|
|
"@babel/plugin-transform-react-jsx-development": "^7.22.5",
|
|
"@preact/preset-vite": "^2.7.0",
|
|
"@preact/signals": "^1.2.1",
|
|
"babel-plugin-transform-hook-names": "^1.0.2",
|
|
"preact-render-to-string": "~6.3.1",
|
|
"preact-ssr-prepass": "^1.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"preact": "^10.19.2"
|
|
},
|
|
"peerDependencies": {
|
|
"preact": "^10.6.5"
|
|
},
|
|
"engines": {
|
|
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"provenance": true
|
|
}
|
|
}
|