mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
* automate Bun.version & revision polyfills * polyfill Bun.gc * bun:jsc module initial polyfills * fixes & improvements to bun-wasm
29 lines
786 B
JSON
29 lines
786 B
JSON
{
|
|
"type": "module",
|
|
"name": "bun-polyfills",
|
|
"module": "src/index.ts",
|
|
"devDependencies": {
|
|
"@types/node": "^20.4.5",
|
|
"@types/which": "^3.0.0",
|
|
"bun-types": "^0.7.0",
|
|
"copyfiles": "^2.4.1"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"scripts": {
|
|
"node": "node --enable-source-maps --import ./dist/src/repl.js",
|
|
"clean": "rm -rf dist",
|
|
"preprocess": "bun tools/updateversions.ts",
|
|
"build": "bun run clean && bun run preprocess && bunx tsc && bunx copyfiles \"./**/*.wasm\" dist",
|
|
"build/wasm": "bun run build/zighash",
|
|
"build/zighash": "cd lib/zighash && bun run build && cd ../.."
|
|
},
|
|
"dependencies": {
|
|
"js-md4": "^0.3.2",
|
|
"open-editor": "^4.0.0",
|
|
"supports-color": "^9.4.0",
|
|
"which": "^3.0.1"
|
|
}
|
|
}
|