Reconfigure tsconfig and eslint

This commit is contained in:
Nick Alteen
2023-08-23 13:57:44 -04:00
parent 497bed758e
commit bd79503369
12 changed files with 195 additions and 521 deletions

View File

@@ -23,8 +23,8 @@
"ci-test": "jest",
"format:write": "prettier --write '**/*.ts'",
"format:check": "prettier --check '**/*.ts'",
"lint": "eslint -c ./.github/linters/.eslintrc.yml src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"lint": "eslint -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.ts --source-map --license licenses.txt",
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"all": "npm run format:write && npm run lint && npm run test && npm run package"
},