|
5 | 5 | "main": "lib/index.js", |
6 | 6 | "typings": "lib/index.d.ts", |
7 | 7 | "scripts": { |
8 | | - "test": "karma start --single-run", |
9 | | - "mocha": "mocha test/**/*.test.ts --require ts-node/register", |
10 | | - "autoformat": "tsfmt -r --useTsconfig tsconfig.test.json", |
| 8 | + "test": "nyc mocha", |
| 9 | + "karma": "karma start --single-run", |
| 10 | + "autoformat": "prettier --config .prettierrc --write {src,test}/**/*.ts", |
| 11 | + "tslint-check": "tslint-config-prettier-check ./tslint.json", |
11 | 12 | "clean-up": "rm -rf coverage && rm -rf lib", |
12 | 13 | "prepublish": "tsc -d && publish-please guard", |
13 | 14 | "publish-please": "npm run autoformat && npm run clean-up && publish-please" |
14 | 15 | }, |
| 16 | + "nyc": { |
| 17 | + "include": [ |
| 18 | + "src/**/*.ts" |
| 19 | + ], |
| 20 | + "exclude": [ |
| 21 | + "test" |
| 22 | + ], |
| 23 | + "extension": [ |
| 24 | + ".ts" |
| 25 | + ], |
| 26 | + "require": [ |
| 27 | + "ts-node/register" |
| 28 | + ], |
| 29 | + "reporter": [ |
| 30 | + "text-summary", |
| 31 | + "lcov" |
| 32 | + ], |
| 33 | + "sourceMap": true, |
| 34 | + "instrument": true |
| 35 | + }, |
15 | 36 | "repository": { |
16 | 37 | "type": "git", |
17 | 38 | "url": "git@github.com:RobotlegsJS/RobotlegsJS-SignalCommandMap.git" |
|
39 | 60 | "@robotlegsjs/signals": "^0.0.10" |
40 | 61 | }, |
41 | 62 | "devDependencies": { |
42 | | - "@types/bluebird": "^3.5.8", |
| 63 | + "@types/bluebird": "^3.5.11", |
43 | 64 | "@types/chai": "^4.0.4", |
44 | | - "@types/mocha": "^2.2.42", |
45 | | - "@types/sinon": "^2.3.3", |
| 65 | + "@types/mocha": "^2.2.43", |
| 66 | + "@types/sinon": "^2.3.4", |
46 | 67 | "bluebird": "^3.5.0", |
47 | 68 | "browserify-versionify": "^1.0.6", |
48 | | - "chai": "^4.1.1", |
| 69 | + "chai": "^4.1.2", |
49 | 70 | "es6-map": "^0.1.5", |
50 | 71 | "es6-symbol": "^3.1.1", |
51 | 72 | "glslify": "^6.1.0", |
|
67 | 88 | "karma-sourcemap-loader": "^0.3.7", |
68 | 89 | "karma-sourcemap-writer": "^0.1.2", |
69 | 90 | "karma-webpack": "^2.0.4", |
70 | | - "mocha": "^3.5.0", |
| 91 | + "mocha": "^3.5.3", |
| 92 | + "nyc": "^11.2.1", |
| 93 | + "prettier": "^1.7.0", |
71 | 94 | "publish-please": "^2.3.1", |
72 | 95 | "reflect-metadata": "^0.1.10", |
73 | 96 | "remap-istanbul": "^0.9.5", |
74 | | - "rimraf": "^2.6.1", |
| 97 | + "rimraf": "^2.6.2", |
75 | 98 | "sinon": "^3.2.1", |
76 | 99 | "sinon-chai": "^2.13.0", |
77 | | - "ts-loader": "^2.3.4", |
| 100 | + "source-map-support": "^0.4.18", |
| 101 | + "ts-loader": "^2.3.7", |
78 | 102 | "ts-node": "^3.3.0", |
79 | 103 | "tslint": "^5.7.0", |
80 | | - "typescript": "^2.5.1", |
81 | | - "typescript-formatter": "^6.0.0", |
82 | | - "webpack": "^3.5.5", |
83 | | - "webpack-dev-server": "^2.7.1" |
| 104 | + "tslint-config-prettier": "^1.5.0", |
| 105 | + "typescript": "^2.5.2", |
| 106 | + "webpack": "^3.6.0", |
| 107 | + "webpack-dev-server": "^2.8.2" |
84 | 108 | }, |
85 | 109 | "peerDependencies": { |
86 | 110 | "reflect-metadata": "^0.1.10" |
|
0 commit comments