diff --git a/eslint.config.js b/eslint.config.js index c8d4082..bc51710 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -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, }) diff --git a/package.json b/package.json index a9dc0b0..ac0c628 100644 --- a/package.json +++ b/package.json @@ -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", @@ -37,12 +43,5 @@ "karin": { "apps": [], "outDir": "lib" - }, - "files": [ - "/lib/**/*.js", - "/lib/**/*.d.ts", - "LICENSE", - "package.json", - "README.md" - ] + } } diff --git a/tsconfig.json b/tsconfig.json index daa182a..a13ca43 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "skipLibCheck": true, "module": "ESNext", "target": "ESNext", "esModuleInterop": true,