mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-11 16:50:33 +08:00
Chore: remove .swcrc for script
This commit is contained in:
parent
54ee1025dc
commit
b67c67a65d
14
.swcrc
14
.swcrc
@ -1,14 +0,0 @@
|
||||
{
|
||||
"$schema": "https://swc.rs/schema.json",
|
||||
"jsc": {
|
||||
"target": "esnext",
|
||||
"parser": {
|
||||
"syntax": "typescript",
|
||||
"dynamicImport": true
|
||||
}
|
||||
},
|
||||
"module": {
|
||||
"type": "commonjs",
|
||||
"ignoreDynamic": true
|
||||
}
|
||||
}
|
||||
@ -9,13 +9,12 @@
|
||||
},
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
"node": "SWCRC=true node -r @swc-node/register",
|
||||
"dexnode": "SWCRC=true dexnode -r @swc-node/register",
|
||||
"node": "SWC_NODE_IGNORE_DYNAMIC=true node -r @swc-node/register",
|
||||
"dexnode": "SWC_NODE_IGNORE_DYNAMIC=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",
|
||||
"build-webstream": "ENABLE_EXPERIMENTAL_WEBSTREAMS=true pnpm run node ./Build/index.ts",
|
||||
"lint": "eslint --format=sukka .",
|
||||
"test": "SWCRC=true SWC_NODE_PROJECT=tsconfig.test.json mocha --require @swc-node/register --watch-extensions ts,tsx"
|
||||
"test": "SWC_NODE_IGNORE_DYNAMIC=true SWC_NODE_PROJECT=tsconfig.test.json mocha --require @swc-node/register --watch-extensions ts,tsx"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"lib": ["ESNext", "ESNext.Iterator"],
|
||||
"moduleDetection": "force",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"module": "nodenext",
|
||||
"moduleResolution": "nodenext",
|
||||
"allowImportingTsExtensions": true,
|
||||
"allowJs": true,
|
||||
"noEmit": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user