From b37a6223181b0cfabdfc5b969c2071d2b631d43c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Sat, 21 Mar 2020 16:57:55 +0100 Subject: [PATCH] Update dependencies + use kcd-scripts' husky --- .huskyrc.js | 1 + package.json | 18 +++++++----------- 2 files changed, 8 insertions(+), 11 deletions(-) create mode 100644 .huskyrc.js diff --git a/.huskyrc.js b/.huskyrc.js new file mode 100644 index 0000000..5e45c45 --- /dev/null +++ b/.huskyrc.js @@ -0,0 +1 @@ +module.exports = require('kcd-scripts/husky') diff --git a/package.json b/package.json index 08a9187..036d9d1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Simple and complete custom Cypress commands and utilities that encourage good testing practices.", "main": "dist/index.js", "engines": { - "node": ">=10" + "node": ">=10", + "npm": ">=6" }, "scripts": { "build": "kcd-scripts build", @@ -12,18 +13,13 @@ "setup": "npm install && npm run validate -s", "test": "npm-run-all --parallel test:unit test:cypress", "test:cypress": "npm run test:cypress:run", + "test:cypress:dev": "npm run test:cypress:open", "test:cypress:open": "cypress open", "test:cypress:run": "cypress run", "test:unit": "kcd-scripts test --no-watch", "test:unit:watch": "kcd-scripts test", - "test:cypress:dev": "npm run test:cypress:open", "validate": "kcd-scripts validate build,lint,test" }, - "husky": { - "hooks": { - "pre-commit": "kcd-scripts pre-commit" - } - }, "files": [ "dist", "add-commands.js" @@ -41,13 +37,13 @@ "author": "Kent C. Dodds (https://kentcdodds.com)", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.8.7", - "@testing-library/dom": "^7.0.2", + "@babel/runtime": "^7.9.2", + "@testing-library/dom": "^7.1.0", "@types/testing-library__cypress": "^5.0.3" }, "devDependencies": { - "cypress": "^4.0.0", - "kcd-scripts": "^5.4.0", + "cypress": "^4.2.0", + "kcd-scripts": "^5.5.0", "npm-run-all": "^4.1.5" }, "peerDependencies": {