Files
bun.sh/templates/react/package.json
Colin McDonnell fa9015cd14 WIP
2023-04-17 17:38:41 -07:00

33 lines
751 B
JSON

{
"name": "@bun-examples/react",
"version": "0.1.82",
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"web-vitals": "^3.0.3"
},
"eslintConfig": {
"extends": [
"react-app"
]
},
"devDependencies": {
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"bun-types": "canary",
"typescript": "latest"
},
"scripts": {
"prestart": "NODE_ENV=development bun build ./src/index.jsx --outfile build/bundle.js",
"start": "bun run dev.tsx"
},
"bun-create": {
"prestart": [
"bun bun ./src/index.jsx --outfile ./build/bundle.js --platform browser --splitting --tree-shaking"
],
"start": "bun run dev.tsx"
},
"module": "index.ts",
"type": "module"
}