2022-07-31 14:58:59 +02:00
|
|
|
{
|
|
|
|
"name": "jsx",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2023-12-03 14:03:55 +01:00
|
|
|
"bench:node": "esbuild --bundle src/benchmark.ts | node",
|
|
|
|
"bench:bun": "bun run src/benchmark.ts",
|
|
|
|
"bench:react-jsx:node": "esbuild --bundle src/react-jsx/benchmark.ts | node",
|
|
|
|
"compare-bundle-size": "esbuild --minify --minify-syntax --tree-shaking=true --bundle src/{hono,react,preact,nano}.ts --outdir=dist"
|
2022-07-31 14:58:59 +02:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
2023-12-03 14:03:55 +01:00
|
|
|
"devDependencies": {
|
|
|
|
"esbuild": "^0.19.8",
|
|
|
|
"node-html-parser": "^6.1.11"
|
|
|
|
},
|
2022-07-31 14:58:59 +02:00
|
|
|
"dependencies": {
|
2023-12-03 14:03:55 +01:00
|
|
|
"@types/benchmark": "^2.1.5",
|
|
|
|
"@types/react": "^18.2.40",
|
|
|
|
"@types/react-dom": "^18.2.17",
|
2022-07-31 14:58:59 +02:00
|
|
|
"benchmark": "^2.1.4",
|
2023-12-03 14:03:55 +01:00
|
|
|
"hono": "^3.10.4",
|
|
|
|
"nano-jsx": "^0.1.0",
|
|
|
|
"preact": "^10.19.2",
|
|
|
|
"preact-render-to-string": "^6.3.1",
|
2022-07-31 14:58:59 +02:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
2023-12-03 14:03:55 +01:00
|
|
|
"typescript": "^5.3.2"
|
2022-07-31 14:58:59 +02:00
|
|
|
}
|
|
|
|
}
|