|
31 | 31 | "jschardet": "~2.1.0" |
32 | 32 | }, |
33 | 33 | "devDependencies": { |
| 34 | + "@commitlint/cli": "latest", |
| 35 | + "@commitlint/config-conventional": "latest", |
34 | 36 | "chai": "latest", |
| 37 | + "ci-publish": "latest", |
| 38 | + "conventional-github-releaser": "latest", |
35 | 39 | "coveralls": "latest", |
| 40 | + "finepack": "latest", |
| 41 | + "git-authors-cli": "latest", |
36 | 42 | "git-dirty": "latest", |
37 | 43 | "got": "latest", |
38 | 44 | "husky": "latest", |
39 | 45 | "lint-staged": "latest", |
40 | 46 | "mocha": "latest", |
| 47 | + "npm-check-updates": "latest", |
41 | 48 | "nyc": "latest", |
42 | 49 | "prettier-standard": "latest", |
43 | 50 | "standard": "latest", |
44 | 51 | "standard-markdown": "latest", |
45 | | - "@commitlint/cli": "latest", |
46 | | - "@commitlint/config-conventional": "latest", |
47 | | - "conventional-github-releaser": "latest", |
48 | | - "finepack": "latest", |
49 | | - "git-authors-cli": "latest", |
50 | | - "npm-check-updates": "latest", |
51 | | - "ci-publish": "latest" |
| 52 | + "standard-version": "latest" |
52 | 53 | }, |
53 | 54 | "files": [ |
54 | 55 | "index.js" |
|
58 | 59 | "coveralls": "nyc report --reporter=text-lcov | coveralls", |
59 | 60 | "dev": "nodemon --exec \"npm start\" -e \"js\"", |
60 | 61 | "lint": "standard-markdown README.md && standard", |
| 62 | + "postrelease": "npm run release:tags && npm run release:github && ci-publish", |
61 | 63 | "prelint": "npm run pretty", |
| 64 | + "prerelease": "npm run update:check", |
62 | 65 | "pretest": "npm run lint", |
63 | 66 | "pretty": "prettier-standard {core,test,bin}/**/*.js", |
64 | | - "start": "node index.js", |
65 | | - "test": "nyc mocha", |
66 | | - "postrelease": "npm run release:tags && npm run release:github && ci-publish", |
67 | | - "prerelease": "npm run update:check", |
| 67 | + "release": "standard-version -a", |
68 | 68 | "release:github": "conventional-github-releaser -p angular", |
69 | 69 | "release:tags": "git push --follow-tags origin HEAD:master", |
70 | | - "release": "standard-version -a", |
71 | | - "update:check": "ncu -- --error-level 2", |
72 | | - "update": "ncu -u" |
| 70 | + "start": "node index.js", |
| 71 | + "test": "nyc mocha", |
| 72 | + "update": "ncu -u", |
| 73 | + "update:check": "ncu -- --error-level 2" |
73 | 74 | }, |
74 | 75 | "license": "MIT", |
| 76 | + "commitlint": { |
| 77 | + "extends": [ |
| 78 | + "@commitlint/config-conventional" |
| 79 | + ] |
| 80 | + }, |
75 | 81 | "husky": { |
76 | 82 | "hooks": { |
77 | | - "pre-commit": "lint-staged", |
78 | | - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
| 83 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
| 84 | + "pre-commit": "lint-staged" |
79 | 85 | } |
80 | 86 | }, |
81 | 87 | "lint-staged": { |
|
98 | 104 | "env": [ |
99 | 105 | "mocha" |
100 | 106 | ] |
101 | | - }, |
102 | | - "commitlint": { |
103 | | - "extends": [ |
104 | | - "@commitlint/config-conventional" |
105 | | - ] |
106 | 107 | } |
107 | 108 | } |
0 commit comments