mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 17:50:34 +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",
|
"type": "commonjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"node": "SWCRC=true node -r @swc-node/register",
|
"node": "SWC_NODE_IGNORE_DYNAMIC=true node -r @swc-node/register",
|
||||||
"dexnode": "SWCRC=true dexnode -r @swc-node/register",
|
"dexnode": "SWC_NODE_IGNORE_DYNAMIC=true dexnode -r @swc-node/register",
|
||||||
"build": "pnpm run node ./Build/index.ts",
|
"build": "pnpm run node ./Build/index.ts",
|
||||||
"build-profile": "pnpm run dexnode -r @swc-node/register ./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 .",
|
"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": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|||||||
@ -2,13 +2,13 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"lib": ["ESNext", "ESNext.Iterator"],
|
"lib": ["ESNext", "ESNext.Iterator"],
|
||||||
"moduleDetection": "force",
|
"module": "nodenext",
|
||||||
"module": "esnext",
|
"moduleResolution": "nodenext",
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user