diff --git a/package.json b/package.json index f60c6d0..993e48e 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,10 @@ "start:core": "cd ../paranext-core && npm run start", "start": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch\" \"npm:start:core\"", "start:production": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch:production\" \"npm:start:core\"", - "lint": "npm run lint:scripts && npm run lint:styles", + "lint": "npm run lint:scripts && npm run lint:styles && npm run lint:typecheck", "lint:scripts": "cross-env NODE_ENV=development eslint --ext .cjs,.js,.jsx,.ts,.tsx --cache .", "lint:styles": "stylelint **/*.{css,scss} --allow-empty-input", + "lint:typecheck": "tsc --noEmit", "lint-fix": "npm run lint-fix:scripts && npm run lint:styles -- --fix", "lint-fix:scripts": "npm run format && npm run lint:scripts", "bump-versions": "ts-node ./lib/bump-versions.ts", diff --git a/tsconfig.json b/tsconfig.json index 352fbcc..6a9ab66 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "skipLibCheck": true, "target": "ESNext", "useDefineForClassFields": true, "lib": ["DOM", "DOM.Iterable", "ESNext"],