diff --git a/package-lock.json b/package-lock.json index 2f16e36..af421ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17613,15 +17613,6 @@ "integrity": "sha512-LmeoohTpp/K4UiyQCwuGWlONxXamGzCMtFxLq4W1nZVGIQLYvMCJx3yAF9qyyuFpflABI9yVdtJAqbihOsCsJQ==", "dev": true }, - "pre-push": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pre-push/-/pre-push-0.1.1.tgz", - "integrity": "sha1-Kip5gn0kOnbJEImJescH9F5xaqw=", - "dev": true, - "requires": { - "shelljs": "0.3.x" - } - }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -19208,12 +19199,6 @@ "jsonify": "~0.0.0" } }, - "shelljs": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz", - "integrity": "sha1-NZbmMHp4FUT1kfN9phg2DzHbV7E=", - "dev": true - }, "shellwords": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", diff --git a/package.json b/package.json index 5526710..6941a19 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,13 @@ "build": "rollup --config", "build-toc": "node ./scripts/buildToc.js" }, + "husky": { + "hooks": { + "pre-commit": "npm run lint && npm run lint-tests", + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", + "pre-push": "npm t" + } + }, "author": { "name": "Miklos Bertalan", "email": "miklos.bertalan@risingstack.com" @@ -87,7 +94,6 @@ "markdown-toc": "^1.2.0", "moment": "^2.24.0", "nyc": "^15.0.0", - "pre-push": "^0.1.1", "prettier": "^1.19.1", "react": "^16.12.0", "react-dom": "^16.12.0", @@ -103,15 +109,7 @@ "styled-components": "^5.0.1" }, "engines": { - "node": ">=6.0.0" - }, - "husky": { - "hooks": { - "pre-commit": "npm run lint && npm run lint-tests", - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } - }, - "pre-push": [ - "test" - ] + "node": ">=10.0.0", + "npm": ">=6.9.0" + } }