mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Refactor: drop all Bun compatability
This commit is contained in:
11
package.json
11
package.json
@@ -7,11 +7,12 @@
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/SukkaW/Surge.git"
|
||||
},
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
"build": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true node -r @swc-node/register ./Build/index.ts",
|
||||
"build-bun": "bun ./Build/index.ts",
|
||||
"build-bun-stream": "ENABLE_TEXT_LINE_STREAM=true bun ./Build/index.ts",
|
||||
"build-profile": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true dexnode -r @swc-node/register ./Build/index.ts",
|
||||
"node": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true node -r @swc-node/register",
|
||||
"dexnode": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true dexnode -r @swc-node/register",
|
||||
"build": "pnpm run node ./Build/index.ts",
|
||||
"build-profile": "pnpm run dexnode -r @swc-node/register ./Build/index.ts",
|
||||
"lint": "eslint --format=sukka ."
|
||||
},
|
||||
"author": "",
|
||||
@@ -43,10 +44,8 @@
|
||||
"@swc/core": "^1.7.0",
|
||||
"@types/async-retry": "^1.4.8",
|
||||
"@types/better-sqlite3": "^7.6.11",
|
||||
"@types/bun": "^1.1.6",
|
||||
"@types/punycode": "^2.1.4",
|
||||
"@types/tar-stream": "^3.1.3",
|
||||
"bun-types": "^1.1.20",
|
||||
"eslint": "^9.7.0",
|
||||
"eslint-config-sukka": "^6.1.6",
|
||||
"eslint-formatter-sukka": "^6.1.6",
|
||||
|
||||
Reference in New Issue
Block a user