|
27 | 27 | "lint": "eslint .",
|
28 | 28 | "test": "jest --env node --coverage",
|
29 | 29 | "prerelease": "npm t && npm run lint",
|
30 |
| - "release": "standard-version", |
31 |
| - "precommit": "lint-staged", |
32 |
| - "commitmsg": "commitlint -e $GIT_PARAMS" |
| 30 | + "release": "standard-version" |
| 31 | + }, |
| 32 | + "husky": { |
| 33 | + "hooks": { |
| 34 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
| 35 | + "pre-commit": "lint-staged" |
| 36 | + } |
33 | 37 | },
|
34 | 38 | "standard-version": {
|
35 | 39 | "scripts": {
|
|
48 | 52 | ]
|
49 | 53 | },
|
50 | 54 | "dependencies": {
|
51 |
| - "path-key": "^2.0.1", |
| 55 | + "path-key": "^3.1.0", |
52 | 56 | "shebang-command": "^1.2.0",
|
53 | 57 | "which": "^1.2.9"
|
54 | 58 | },
|
55 | 59 | "devDependencies": {
|
56 |
| - "@commitlint/cli": "^7.0.0", |
57 |
| - "@commitlint/config-conventional": "^7.0.1", |
| 60 | + "@commitlint/cli": "^8.1.0", |
| 61 | + "@commitlint/config-conventional": "^8.1.0", |
58 | 62 | "babel-core": "^6.26.3",
|
59 |
| - "babel-jest": "^21.0.0", |
60 |
| - "babel-preset-moxy": "^2.3.5", |
61 |
| - "eslint": "^4.3.0", |
62 |
| - "eslint-config-moxy": "^5.0.0", |
63 |
| - "husky": "^0.14.3", |
64 |
| - "jest": "^21.0.0", |
65 |
| - "lint-staged": "^7.0.0", |
| 63 | + "babel-jest": "^24.9.0", |
| 64 | + "babel-preset-moxy": "^3.1.0", |
| 65 | + "eslint": "^5.16.0", |
| 66 | + "eslint-config-moxy": "^7.1.0", |
| 67 | + "husky": "^3.0.5", |
| 68 | + "jest": "^24.9.0", |
| 69 | + "lint-staged": "^9.2.5", |
66 | 70 | "mkdirp": "^0.5.1",
|
67 |
| - "regenerator-runtime": "^0.12.0", |
68 |
| - "rimraf": "^2.6.2", |
69 |
| - "standard-version": "^4.2.0" |
| 71 | + "rimraf": "^3.0.0", |
| 72 | + "standard-version": "^7.0.0" |
70 | 73 | },
|
71 | 74 | "engines": {
|
72 | 75 | "node": ">= 8"
|
|
0 commit comments