|
6 | 6 | "scripts": {
|
7 | 7 | "test": "tsc && ./node_modules/.bin/mocha --opts tests/mocha.opts",
|
8 | 8 | "lint": "./node_modules/.bin/tslint -p .",
|
9 |
| - "watch": "./node_modules/.bin/nodemon $(which npm) test" |
| 9 | + "watch": "./node_modules/.bin/nodemon $(which npm) test", |
| 10 | + "travis-deploy-once": "travis-deploy-once", |
| 11 | + "semantic-release": "semantic-release" |
10 | 12 | },
|
11 | 13 | "repository": {
|
12 | 14 | "type": "git",
|
|
25 | 27 | },
|
26 | 28 | "homepage": "https://github.com/mike-north/jsonapi-typescript#readme",
|
27 | 29 | "devDependencies": {
|
| 30 | + "@commitlint/cli": "7.2.1", |
| 31 | + "@commitlint/config-conventional": "7.1.2", |
| 32 | + "@commitlint/travis-cli": "7.2.1", |
| 33 | + "@mike-north/js-lib-renovate-config": "^0.0.1", |
| 34 | + "@mike-north/js-lib-semantic-release-config": "^0.0.0-development", |
28 | 35 | "@types/chai": "^4.0.10",
|
29 | 36 | "@types/mocha": "^2.2.44",
|
30 | 37 | "chai": "^4.1.2",
|
31 | 38 | "dtslint": "^0.3.0",
|
| 39 | + "husky": "1.1.2", |
32 | 40 | "mocha": "^4.0.1",
|
33 | 41 | "mocha-typescript": "^1.1.12",
|
34 | 42 | "nodemon": "^1.17.5",
|
| 43 | + "nyc": "^13.1.0", |
| 44 | + "semantic-release": "^15.10.8", |
| 45 | + "travis-deploy-once": "^5.0.9", |
35 | 46 | "ts-node": "^4.0.1",
|
36 | 47 | "tsconfig": "^7.0.0",
|
37 | 48 | "tslint": "^5.8.0",
|
|
40 | 51 | },
|
41 | 52 | "dependencies": {
|
42 | 53 | "json-typescript": "^1.0.0"
|
43 |
| - } |
| 54 | + }, |
| 55 | + "commitlint": { |
| 56 | + "extends": [ |
| 57 | + "@commitlint/config-conventional" |
| 58 | + ] |
| 59 | + }, |
| 60 | + "husky": { |
| 61 | + "hooks": { |
| 62 | + "commit-msg": "./node_modules/.bin/commitlint -e $HUSKY_GIT_PARAMS" |
| 63 | + } |
| 64 | + }, |
| 65 | + "release": { |
| 66 | + "extends": "@mike-north/js-lib-semantic-release-config" |
| 67 | + } |
44 | 68 | }
|
0 commit comments