diff --git a/package.json b/package.json index c83bc8c320db..32883201fd7e 100644 --- a/package.json +++ b/package.json @@ -10,13 +10,14 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/cli": "^6.1.3", - "@commitlint/config-conventional": "^6.1.3", - "@commitlint/config-lerna-scopes": "^6.1.3", - "@commitlint/travis-cli": "^6.1.3", + "@commitlint/cli": "^7.0.0", + "@commitlint/config-conventional": "^7.0.0", + "@commitlint/config-lerna-scopes": "^7.0.0", + "@commitlint/travis-cli": "^7.0.0", "@types/mocha": "^5.0.0", "coveralls": "^3.0.0", "cz-conventional-changelog": "^2.1.0", + "husky": "^0.14.3", "lerna": "^2.9.1" }, "scripts": { @@ -48,7 +49,8 @@ "verify:docs": "npm run build:site -- --verify", "build:site": "./bin/build-docs-site.sh", "mocha": "node packages/build/bin/run-mocha \"packages/*/DIST/test/**/*.js\" \"examples/*/DIST/test/**/*.js\" \"packages/cli/test/**/*.js\" \"packages/build/test/*/*.js\"", - "posttest": "npm run lint" + "posttest": "npm run lint", + "commitmsg": "commitlint -E GIT_PARAMS" }, "config": { "commitizen": {