|
20 | 20 | "http-status": "^1.4.2",
|
21 | 21 | "lodash": "^4.17.11",
|
22 | 22 | "luxon": "^1.21.3",
|
23 |
| - "moment": "^2.24.0", |
24 |
| - "randomstring": "^1.1.5", |
25 | 23 | "sinon": "^7.5.0"
|
26 | 24 | },
|
27 | 25 | "devDependencies": {
|
28 |
| - "@commitlint/config-conventional": "^8.0.0", |
| 26 | + "@commitlint/cli": "^11.0.0", |
| 27 | + "@commitlint/config-conventional": "^11.0.0", |
29 | 28 | "@voiceflow/eslint-config": "^2.0.5",
|
30 | 29 | "@voiceflow/git-branch-check": "^1.1.3",
|
31 | 30 | "@voiceflow/prettier-config": "^1.0.5",
|
32 |
| - "codacy-coverage": "^3.4.0", |
33 |
| - "commitizen": "^3.1.1", |
34 |
| - "commitlint": "^8.0.0", |
| 31 | + "commitizen": "^4.2.3", |
35 | 32 | "cz-conventional-changelog": "^2.1.0",
|
| 33 | + "depcheck": "^1.3.1", |
36 | 34 | "eslint": "^6.0.1",
|
37 | 35 | "express": "^4.17.1",
|
38 |
| - "fixpack": "^2.3.1", |
39 |
| - "husky": "^2.6.0", |
40 |
| - "istanbul": "^0.4.5", |
41 |
| - "lint-staged": "^8.2.1", |
| 36 | + "fixpack": "^4.0.0", |
| 37 | + "husky": "^4.3.8", |
| 38 | + "lint-staged": "^10.5.3", |
42 | 39 | "mocha": "^6.1.4",
|
43 | 40 | "nyc": "^14.1.0",
|
44 | 41 | "prettier": "^1.19.1",
|
45 | 42 | "prettier-eslint-cli": "^5.0.0",
|
46 |
| - "semantic-release": "^15.13.17", |
47 | 43 | "supertest": "^4.0.2"
|
48 | 44 | },
|
49 | 45 | "files": [
|
|
54 | 50 | "!scratch.*"
|
55 | 51 | ],
|
56 | 52 | "homepage": "https://github.com/voiceflow/backend-utils#readme",
|
57 |
| - "husky": { |
58 |
| - "hooks": { |
59 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
60 |
| - "pre-commit": "lint-staged", |
61 |
| - "pre-push": "git-branch-check" |
62 |
| - } |
63 |
| - }, |
64 | 53 | "keywords": [
|
65 | 54 | "utilities"
|
66 | 55 | ],
|
67 | 56 | "license": "ISC",
|
68 |
| - "lint-staged": { |
69 |
| - "package.json": [ |
70 |
| - "fixpack", |
71 |
| - "git add" |
72 |
| - ], |
73 |
| - "**/*.js": [ |
74 |
| - "eslint --fix", |
75 |
| - "prettier-eslint --write", |
76 |
| - "git add" |
77 |
| - ] |
78 |
| - }, |
79 | 57 | "main": "index.js",
|
80 | 58 | "prettier": "@voiceflow/prettier-config",
|
81 | 59 | "repository": {
|
82 | 60 | "type": "git",
|
83 | 61 | "url": "git+https://github.com/voiceflow/backend-utils.git"
|
84 | 62 | },
|
85 | 63 | "scripts": {
|
86 |
| - "commit": "git-cz", |
| 64 | + "commit": "cz", |
87 | 65 | "lint": "eslint \"**/*.js\"",
|
88 | 66 | "lint:fix": "yarn lint --fix",
|
89 | 67 | "lint:quiet": "yarn lint --quiet",
|
90 | 68 | "lint:report": "yarn lint --format json -o sonar/report.json",
|
91 | 69 | "prepare": "fixpack",
|
92 | 70 | "test": "nyc mocha --opts ./config/tests/mocha.opts 'tests/**/*.{unit,it}.js'",
|
| 71 | + "test:dependencies": "depcheck", |
93 | 72 | "test:integration": "nyc mocha --opts ./config/tests/mocha.opts 'tests/**/*.it.js'",
|
94 | 73 | "test:single": "mocha --opts ./config/tests/mocha.opts",
|
95 | 74 | "test:unit": "nyc mocha --opts ./config/tests/mocha.opts 'tests/**/*.unit.js'"
|
|
0 commit comments