mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
59 lines
2.0 KiB
JSON
59 lines
2.0 KiB
JSON
{
|
|
"type": "module",
|
|
"name": "bun-polyfills",
|
|
"module": "src/index.ts",
|
|
"scripts": {
|
|
"node": "tsx --no-warnings --expose-gc --enable-source-maps --import ./dist/src/repl.js",
|
|
"test": "cd ../../test && node --no-warnings --loader ../packages/bun-polyfills/tools/bun_test_loader.mjs --import ../packages/bun-polyfills/dist/src/global/index.js --import ../packages/bun-polyfills/dist/src/global/test.js",
|
|
"test-gc": "bun run test --expose-gc",
|
|
"test-esm": "bun run test --input-type=module",
|
|
"test-esm-gc": "bun run test --input-type=module --expose-gc",
|
|
"test-all": "bun run test-esm-gc ../packages/bun-polyfills/tools/test_all.js",
|
|
"clean": "rm -rf dist",
|
|
"preprocess": "bun tools/updateversions.ts",
|
|
"build": "bun run clean && bun run preprocess && bunx tsc && bunx copyfiles \"./lib/**/*.wasm\" dist",
|
|
"build/wasm": "bun run build/zighash",
|
|
"build/zighash": "cd lib/zighash && bun run build && cd ../.."
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.5",
|
|
"@types/better-sqlite3": "^7.6.7",
|
|
"@types/dateformat": "^5.0.2",
|
|
"@types/node": "^20.8.6",
|
|
"@types/set-cookie-parser": "^2.4.5",
|
|
"@types/which": "^3.0.0",
|
|
"@types/ws": "^8.5.8",
|
|
"bun-types": "^1.0.6",
|
|
"copyfiles": "^2.4.1",
|
|
"tsx": "^4.1.0",
|
|
"typings-esm-loader": "^2.0.1"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"dependencies": {
|
|
"argon2": "^0.31.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-sqlite3": "^9.1.1",
|
|
"bun-wasm": "link:bun-wasm",
|
|
"chalk": "^5.3.0",
|
|
"dateformat": "^5.0.3",
|
|
"expect": "^29.7.0",
|
|
"isomorphic-ws": "^5.0.0",
|
|
"jest-each": "^29.7.0",
|
|
"jest-extended": "^4.0.2",
|
|
"jest-mock": "^29.7.0",
|
|
"js-md4": "^0.3.2",
|
|
"koffi": "^2.6.3",
|
|
"mmap-utils": "^1.0.0",
|
|
"open-editor": "^4.1.1",
|
|
"semver": "^7.5.4",
|
|
"set-cookie-parser": "^2.6.0",
|
|
"smol-toml": "^1.1.3",
|
|
"supports-color": "^9.4.0",
|
|
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.33.0",
|
|
"which": "^4.0.0",
|
|
"ws": "^8.14.2"
|
|
}
|
|
}
|