|
7 | 7 | "tester": "mocha --reporter=spec ./test/**/*.test.js",
|
8 | 8 | "coverage": "istanbul cover _mocha ./test/**/*.test.js",
|
9 | 9 | "lint": "standard './test/**/*.js' './lib/**/*.js' --verbose | snazzy",
|
10 |
| - "semantic-release": "semantic-release pre && npm publish && semantic-release post", |
| 10 | + "semantic-release": "semantic-release", |
| 11 | + "travis-deploy-once": "travis-deploy-once", |
11 | 12 | "precommit": "lint-staged",
|
12 |
| - "formatter": "prettier-standard-formatter ." |
| 13 | + "formatter": "prettier-standard-formatter .", |
| 14 | + "commit": "git-cz", |
| 15 | + "commit:retry": "git-cz --retry", |
| 16 | + "commitmsg": "commitlint -e" |
13 | 17 | },
|
14 | 18 | "lint-staged": {
|
15 | 19 | "*.js": [
|
|
38 | 42 | "body-parser": "^1.18.2",
|
39 | 43 | "debug": "^3.1.0",
|
40 | 44 | "http-status-codes": "^1.3.0",
|
41 |
| - "husky": "^0.14.0", |
42 | 45 | "inflection": "^1.7.2",
|
43 | 46 | "lint-staged": "^6.0.0",
|
44 | 47 | "lodash": "^4.17.1",
|
|
47 | 50 | "type-is": "^1.6.14"
|
48 | 51 | },
|
49 | 52 | "devDependencies": {
|
| 53 | + "@commitlint/cli": "^6.0.2", |
| 54 | + "@commitlint/config-conventional": "^6.0.2", |
| 55 | + "@commitlint/prompt": "^6.0.2", |
50 | 56 | "chai": "^4.1.2",
|
| 57 | + "commitizen": "^2.9.6", |
51 | 58 | "coveralls": "^3.0.0",
|
| 59 | + "husky": "^0.14.3", |
52 | 60 | "istanbul": "^0.4.5",
|
53 | 61 | "loopback": "^3.16.2",
|
54 | 62 | "loopback-datasource-juggler": "^3.13.0",
|
55 | 63 | "mocha": "^4.0.1",
|
56 | 64 | "rsvp": "4.7.0",
|
57 |
| - "semantic-release": "^11.0.2", |
| 65 | + "semantic-release": "^12.2.2", |
58 | 66 | "standard": "^10.0.3",
|
59 |
| - "supertest": "^3.0.0" |
| 67 | + "supertest": "^3.0.0", |
| 68 | + "travis-deploy-once": "^4.3.1" |
60 | 69 | },
|
61 | 70 | "standard": {
|
62 | 71 | "globals": [
|
|
65 | 74 | "describe",
|
66 | 75 | "afterEach"
|
67 | 76 | ]
|
| 77 | + }, |
| 78 | + "config": { |
| 79 | + "commitizen": { |
| 80 | + "path": "node_modules/@commitlint/prompt" |
| 81 | + } |
68 | 82 | }
|
69 | 83 | }
|
0 commit comments