|
5 | 5 | "main": "lib/index.js",
|
6 | 6 | "scripts": {
|
7 | 7 | "prepublish": "not-in-publish || safe-publish-latest && npm run build",
|
8 |
| - "build": "rimraf lib && babel src -d lib", |
| 8 | + "build": "rimraf lib && babel --source-maps inline src -d lib", |
9 | 9 | "lint": "eslint src test",
|
10 | 10 | "pretest": "npm run --silent lint",
|
11 | 11 | "test": "npm run build && npm run test:coverage && npm run --silent cover:check",
|
12 | 12 | "tests-only": "npm run build && npm run test:quick",
|
13 |
| - "test:coverage": "babel-node node_modules/.bin/istanbul cover --report html node_modules/.bin/_mocha -- -R tap test/init.js test/*-test.js", |
14 |
| - "cover:check": "istanbul check-coverage && echo code coverage thresholds met, achievement unlocked!", |
| 13 | + "test:coverage": "nyc --silent node_modules/.bin/mocha -R tap test/init.js test/*-test.js", |
| 14 | + "cover:check": "nyc report && echo code coverage thresholds met, achievement unlocked!", |
15 | 15 | "test:quick": "babel-node node_modules/.bin/_mocha -R tap test/init.js test/*-test.js"
|
16 | 16 | },
|
17 | 17 | "repository": {
|
|
50 | 50 | "eslint-config-airbnb-base": "^11.2.0",
|
51 | 51 | "eslint-plugin-import": "^2.2.0",
|
52 | 52 | "in-publish": "^2.0.0",
|
53 |
| - "istanbul": "^1.0.0-alpha.2", |
54 | 53 | "mocha": "^3.4.1",
|
55 | 54 | "mocha-wrap": "^2.1.1",
|
56 | 55 | "rimraf": "^2.6.1",
|
57 | 56 | "safe-publish-latest": "^1.1.1",
|
| 57 | + "nyc": "^10.3.2", |
58 | 58 | "sinon": "^1.17.7",
|
59 | 59 | "sinon-sandbox": "^1.0.2"
|
60 | 60 | },
|
|
0 commit comments