1
0
Fork 0

React init (via bun)

This commit is contained in:
Techognito 2025-07-26 21:58:52 +02:00
parent 641544f964
commit f3338f2a3d
14 changed files with 472 additions and 1 deletions

20
package.json Normal file
View file

@ -0,0 +1,20 @@
{
"name": "bun-react-template",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "bun --hot src/index.tsx",
"build": "bun build ./src/index.html --outdir=dist --sourcemap --target=browser --minify --define:process.env.NODE_ENV='\"production\"' --env='BUN_PUBLIC_*'",
"start": "NODE_ENV=production bun src/index.tsx"
},
"dependencies": {
"react": "^19",
"react-dom": "^19"
},
"devDependencies": {
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/bun": "latest"
}
}