Skip to content

Commit a4a06e3

Browse files
chore: update dependencies + use kcd-scripts' husky (#133)
1 parent ee75c14 commit a4a06e3

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.huskyrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('kcd-scripts/husky')

package.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,22 @@
44
"description": "Simple and complete custom Cypress commands and utilities that encourage good testing practices.",
55
"main": "dist/index.js",
66
"engines": {
7-
"node": ">=10"
7+
"node": ">=10",
8+
"npm": ">=6"
89
},
910
"scripts": {
1011
"build": "kcd-scripts build",
1112
"lint": "kcd-scripts lint",
1213
"setup": "npm install && npm run validate -s",
1314
"test": "npm-run-all --parallel test:unit test:cypress",
1415
"test:cypress": "npm run test:cypress:run",
16+
"test:cypress:dev": "npm run test:cypress:open",
1517
"test:cypress:open": "cypress open",
1618
"test:cypress:run": "cypress run",
1719
"test:unit": "kcd-scripts test --no-watch",
1820
"test:unit:watch": "kcd-scripts test",
19-
"test:cypress:dev": "npm run test:cypress:open",
2021
"validate": "kcd-scripts validate build,lint,test"
2122
},
22-
"husky": {
23-
"hooks": {
24-
"pre-commit": "kcd-scripts pre-commit"
25-
}
26-
},
2723
"files": [
2824
"dist",
2925
"add-commands.js"
@@ -41,13 +37,13 @@
4137
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com)",
4238
"license": "MIT",
4339
"dependencies": {
44-
"@babel/runtime": "^7.8.7",
45-
"@testing-library/dom": "^7.0.2",
40+
"@babel/runtime": "^7.9.2",
41+
"@testing-library/dom": "^7.1.0",
4642
"@types/testing-library__cypress": "^5.0.3"
4743
},
4844
"devDependencies": {
49-
"cypress": "^4.0.0",
50-
"kcd-scripts": "^5.4.0",
45+
"cypress": "^4.2.0",
46+
"kcd-scripts": "^5.5.0",
5147
"npm-run-all": "^4.1.5"
5248
},
5349
"peerDependencies": {

0 commit comments

Comments
 (0)