mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
31 lines
1.3 KiB
JSON
31 lines
1.3 KiB
JSON
{
|
|
"dependencies": {
|
|
"eslint": "^8.20.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"mitata": "^0.1.3",
|
|
"peechy": "latest",
|
|
"prettier": "^2.4.1",
|
|
"react": "next",
|
|
"react-dom": "next",
|
|
"typescript": "^5.0.2"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"build-runtime": "esbuild --target=esnext --bundle src/runtime/index.ts --format=iife --platform=browser --global-name=BUN_RUNTIME > src/runtime.out.js; cat src/runtime.footer.js >> src/runtime.out.js",
|
|
"build-fallback": "esbuild --target=esnext --bundle src/fallback.ts --format=iife --platform=browser --minify > src/fallback.out.js",
|
|
"postinstall": "bash .scripts/postinstall.sh",
|
|
"typecheck": "tsc --noEmit && cd test && bun run typecheck",
|
|
"fmt": "prettier --write './test/**/*.{mjs,ts,tsx,js,jsx}' './src/*.{mjs,ts,tsx,js,jsx}' './src/*/*.{mjs,ts,tsx,js,jsx}' './src/*/*/*.{mjs,ts,tsx,js,jsx}' './bench/**/*.{mjs,ts,tsx,js,jsx}' --config .prettierrc.cjs",
|
|
"lint": "eslint './**/*.d.ts' --cache",
|
|
"lint:fix": "eslint './**/*.d.ts' --cache --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.0.25",
|
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
"@typescript-eslint/parser": "^5.31.0",
|
|
"bun-webkit": "0.0.1-595dd33692e02001631f6c3ab6f2bbb199278d26"
|
|
},
|
|
"version": "0.0.0",
|
|
"prettier": "./.prettierrc.cjs"
|
|
}
|