diff --git a/README.md b/README.md index 0081e74..6cd3ace 100644 --- a/README.md +++ b/README.md @@ -275,6 +275,7 @@ Thanks goes to these people ([emoji key][emojis]): + This project follows the [all-contributors][all-contributors] specification. diff --git a/package.json b/package.json index 9d54ba5..dd6f54f 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "test:cypress:run": "cypress run", "test:unit": "kcd-scripts test --no-watch", "test:unit:watch": "kcd-scripts test", - "typecheck": "dtslint ./types/", + "typecheck": "kcd-scripts typecheck --build types", "validate": "kcd-scripts validate build,lint,test,typecheck" }, "files": [ @@ -41,14 +41,13 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^7.26.6" + "@testing-library/dom": "^7.28.1" }, "devDependencies": { - "cypress": "^5.6.0", - "dtslint": "^4.0.5", - "kcd-scripts": "^7.0.3", + "cypress": "^6.0.1", + "kcd-scripts": "^7.5.1", "npm-run-all": "^4.1.5", - "typescript": "^4.0.5" + "typescript": "^4.1.2" }, "peerDependencies": { "cypress": "^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" diff --git a/types/test.ts b/types/test.ts index 28f3bf9..aed3675 100644 --- a/types/test.ts +++ b/types/test.ts @@ -1,6 +1,6 @@ /// -import {configure} from '@testing-library/cypress' -import '@testing-library/cypress/add-commands' +import {configure} from '.' + import './add-commands' configure({testIdAttribute: 'data-myown-testid'}) diff --git a/types/tsconfig.json b/types/tsconfig.json index 22497e9..a782906 100644 --- a/types/tsconfig.json +++ b/types/tsconfig.json @@ -1,16 +1,4 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "baseUrl": ".", - "noEmit": true, - "types": [], - "paths": { - "@testing-library/cypress": ["."] - } - } + "extends": "../node_modules/kcd-scripts/shared-tsconfig.json", + "include": ["."] } diff --git a/types/tslint.json b/types/tslint.json deleted file mode 100644 index cb0fce9..0000000 --- a/types/tslint.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": ["dtslint/dtslint.json"], - "rules": { - "no-useless-files": false, - "no-relative-import-in-test": false, - "semicolon": false, - "whitespace": false - } -}