astro/packages/integrations/preact/package.json

56 lines
1.4 KiB
JSON
Raw Normal View History

{
"name": "@astrojs/preact",
"description": "Use Preact components within Astro",
"version": "2.2.2",
"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"
},
2023-05-17 08:54:00 +00:00
"files": [
"dist"
],
"scripts": {
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\""
},
"dependencies": {
2023-06-21 13:09:49 +00:00
"@babel/core": "^7.22.5",
"@babel/plugin-transform-react-jsx": "^7.22.5",
"@preact/signals": "^1.1.3",
"babel-plugin-module-resolver": "^5.0.0",
2023-06-21 13:09:49 +00:00
"preact-render-to-string": "^5.2.6"
},
"devDependencies": {
"astro": "workspace:*",
"astro-scripts": "workspace:*",
2023-06-21 13:09:49 +00:00
"preact": "^10.15.1"
},
"peerDependencies": {
"preact": "^10.6.5"
},
"engines": {
"node": ">=16.12.0"
}
}