|
21 | 21 | "@types/lodash": "4.14.109",
|
22 | 22 | "@types/fs-readfile-promise": "3.0.0",
|
23 | 23 | "mocha": "5.2.0",
|
| 24 | + "mocha-multi-reporters": "1.1.7", |
24 | 25 | "mocha-notifier-reporter": "0.1.2",
|
25 | 26 | "chai": "4.1.2",
|
26 | 27 | "rimraf": "~2.6.2",
|
|
33 | 34 | },
|
34 | 35 | "scripts": {
|
35 | 36 | "clean": "rimraf coverage build tmp",
|
36 |
| - "ci": "npm run format-check && npm run test", |
| 37 | + "ci": "npm run format-check && npm run lint && npm run test", |
37 | 38 | "build": "tsc -p tsconfig.json",
|
38 |
| - "dist": "tsc -p tsconfig.json --outDir ./bin --outFile ./bin/intermock.js", |
| 39 | + "dist": "tsc -p tsconfig.json --outDir ./bin", |
39 | 40 | "watch": "tsc -w -p tsconfig.json",
|
40 | 41 | "lint": "tslint -t stylish --project \"tsconfig.json\"",
|
41 | 42 | "format-check": "./bin/format-check.sh",
|
42 | 43 | "format": "clang-format -i -style='{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}' src/*.ts test/*.ts",
|
43 | 44 | "test": "npm run test-only",
|
44 |
| - "test-only": "mocha --reporter mocha-notifier-reporter -r ts-node/register test/**/*.spec.ts", |
| 45 | + "test-only": "mocha --reporter mocha-multi-reporters --reporter-options configFile=mocha-config.json --no-colors -r ts-node/register test/**/*.spec.ts", |
45 | 46 | "test-watch": "./node_modules/watch-cli/bin/watch -p \"src/**/*.ts\" -c \"npm run build && npm run test\""
|
46 | 47 | },
|
47 | 48 | "author": "Ryan McDermott <[email protected]>",
|
|
0 commit comments