astro/packages/integrations/preact/package.json

49 lines
1.2 KiB
JSON
Raw Normal View History

{
"name": "@astrojs/preact",
"description": "Use Preact components within Astro",
"version": "0.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-component",
"renderer",
"preact"
],
"bugs": "https://github.com/withastro/astro/issues",
"homepage": "https://astro.build",
"exports": {
".": "./dist/index.js",
"./client.js": "./client.js",
"./server.js": "./server.js",
"./package.json": "./package.json"
},
"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.12",
"babel-plugin-module-resolver": "^4.1.0",
"preact-render-to-string": "^5.2.0"
},
"devDependencies": {
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"preact": "^10.7.3"
},
"peerDependencies": {
"preact": "^10.6.5"
},
"engines": {
"node": "^14.15.0 || >=16.0.0"
}
}