|
12 | 12 | }
|
13 | 13 | },
|
14 | 14 | "dependencies": {
|
15 |
| - "@voiceflow/logger": "^1.1.10", |
| 15 | + "@voiceflow/logger": "^1.4.2", |
16 | 16 | "@voiceflow/verror": "^1.1.0",
|
17 | 17 | "bluebird": "^3.7.2",
|
18 | 18 | "chai": "^4.2.0",
|
|
26 | 26 | },
|
27 | 27 | "devDependencies": {
|
28 | 28 | "@commitlint/config-conventional": "^8.0.0",
|
29 |
| - "@voiceflow/eslint-config": "^2.0.1", |
30 |
| - "@voiceflow/git-branch-check": "^1.0.2", |
31 |
| - "@voiceflow/prettier-config": "^1.0.4", |
| 29 | + "@voiceflow/eslint-config": "^2.0.5", |
| 30 | + "@voiceflow/git-branch-check": "^1.1.3", |
| 31 | + "@voiceflow/prettier-config": "^1.0.5", |
32 | 32 | "codacy-coverage": "^3.4.0",
|
33 | 33 | "commitizen": "^3.1.1",
|
34 | 34 | "commitlint": "^8.0.0",
|
|
41 | 41 | "lint-staged": "^8.2.1",
|
42 | 42 | "mocha": "^6.1.4",
|
43 | 43 | "nyc": "^14.1.0",
|
44 |
| - "prettier": "^1.18.2", |
| 44 | + "prettier": "^1.19.1", |
| 45 | + "prettier-eslint-cli": "^5.0.0", |
45 | 46 | "semantic-release": "^15.13.17",
|
46 | 47 | "supertest": "^4.0.2"
|
47 | 48 | },
|
|
71 | 72 | ],
|
72 | 73 | "**/*.js": [
|
73 | 74 | "eslint --fix",
|
| 75 | + "prettier-eslint --write", |
74 | 76 | "git add"
|
75 | 77 | ]
|
76 | 78 | },
|
|
85 | 87 | "lint": "eslint \"**/*.js\"",
|
86 | 88 | "lint:fix": "yarn lint --fix",
|
87 | 89 | "lint:quiet": "yarn lint --quiet",
|
| 90 | + "lint:report": "yarn lint --format json -o sonar/report.json", |
88 | 91 | "prepare": "fixpack",
|
89 | 92 | "test": "nyc mocha --opts ./config/tests/mocha.opts 'tests/**/*.{unit,it}.js'",
|
90 |
| - "test:unit": "nyc mocha --opts ./config/tests/mocha.opts 'tests/**/*.unit.js'", |
91 | 93 | "test:integration": "nyc mocha --opts ./config/tests/mocha.opts 'tests/**/*.it.js'",
|
92 |
| - "test:single": "mocha --opts ./config/tests/mocha.opts" |
| 94 | + "test:single": "mocha --opts ./config/tests/mocha.opts", |
| 95 | + "test:unit": "nyc mocha --opts ./config/tests/mocha.opts 'tests/**/*.unit.js'" |
93 | 96 | }
|
94 | 97 | }
|
0 commit comments