Skip to content

Commit

Permalink
style: 重新排列 package.json 和 tsconfig.json 中的字段
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Dec 26, 2024
1 parent 055fe76 commit 540ba08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
"author": "tbxark <[email protected]>",
"license": "MIT",
"repository": "[email protected]:TBXark/ChatGPT-Telegram-Workers.git",
"types": "./packages/lib/core/dist/index.d.ts",
"module": "./packages/lib/core/dist/index.js",
"main": "./packages/lib/core/dist/index.cjs",
"exports": {
".": {
"types": "./packages/lib/core/dist/index.d.ts",
"import": "./packages/lib/core/dist/index.js",
"require": "./packages/lib/core/dist/index.cjs"
}
},
"main": "./packages/lib/core/dist/index.cjs",
"module": "./packages/lib/core/dist/index.js",
"types": "./packages/lib/core/dist/index.d.ts",
"files": [
"./packages/lib/core/dist/index.cjs",
"./packages/lib/core/dist/index.d.ts",
"./packages/lib/core/dist/index.js",
"./packages/lib/core/dist/index.cjs"
"./packages/lib/core/dist/index.js"
],
"scripts": {
"lint": "eslint --fix *.js *.ts packages plugins scripts",
Expand Down
12 changes: 6 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"compilerOptions": {
"composite": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "node",
"jsx": "react",
"lib": [
"ESNext",
"DOM",
"DOM.Iterable"
],
"rootDir": ".",
"module": "ESNext",
"moduleResolution": "node",
"types": ["node"],
"allowJs": true,
"strict": true,
"declaration": true,
"declarationMap": true,
"outDir": "dist",
"removeComments": true,
"esModuleInterop": true,
"composite": true,
"sourceMap": true
"sourceMap": true,
"esModuleInterop": true
},
"exclude": ["**/node_modules", "**/dist"]
}
}

0 comments on commit 540ba08

Please sign in to comment.