diff --git a/package.json b/package.json index 2af6742b..94064e82 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "main": "main.js", "scripts": { "crawl": "node ./cli/crawl-cli", - "test": "npm run lint && npm run unit", + "test": "npm run lint && tsc && npm run unit", "unit": "node ./tests/runTests.js && npm run mocha", "mocha": "mocha ./tests/**/*.mocha.js", "lint": "eslint *.js cli/ collectors/ helpers/ post-processing/ tests/ reporters/", diff --git a/tsconfig.json b/tsconfig.json index 0eda64ec..535834d4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "target": "es2021", "moduleResolution": "node", - "lib": ["dom", "ES2021"], "allowJs": true, "checkJs": true, "resolveJsonModule": true,