Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
sj817 committed Nov 24, 2024
1 parent df8ad88 commit 3bd7800
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import neostandard from 'neostandard'

const data = neostandard({
ignores: ['node_modules', 'temp', 'logs', 'data'],
ignores: ['node_modules', 'temp', 'logs', 'data', 'lib'],
globals: ['logger', 'NodeJS'],
ts: true,
})
Expand Down
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@
"author": "karin",
"type": "module",
"main": "./lib/index.js",
"files": [
"/lib/**/*.js",
"/lib/**/*.d.ts",
"LICENSE",
"package.json",
"README.md"
],
"scripts": {
"build": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json && npm run fix",
"fix": "eslint lib/**/*.js --fix",
"build": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json",
"icqq": "node lib/tools/icqq.js",
"pub": "npm publish --access public",
"sort": "sort-package-json",
"icqq": "node lib/tools/icqq.js"
"sort": "sort-package-json"
},
"dependencies": {
"@icqqjs/icqq": "latest",
Expand All @@ -37,12 +43,5 @@
"karin": {
"apps": [],
"outDir": "lib"
},
"files": [
"/lib/**/*.js",
"/lib/**/*.d.ts",
"LICENSE",
"package.json",
"README.md"
]
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"skipLibCheck": true,
"module": "ESNext",
"target": "ESNext",
"esModuleInterop": true,
Expand Down

0 comments on commit 3bd7800

Please sign in to comment.