|
4 | 4 | "description": "Git commit, but play nice with conventions.", |
5 | 5 | "main": "src/index.js", |
6 | 6 | "scripts": { |
7 | | - "check-coverage": "istanbul check-coverage --statements 80 --branches 80 --functions 80 --lines 80 ", |
| 7 | + "check-coverage": "nyc check-coverage --statements 80 --branches 80 --functions 80 --lines 80 ", |
8 | 8 | "commit": "node bin/git-cz", |
9 | 9 | "build": "babel src --out-dir dist", |
10 | 10 | "build:watch": "babel --watch src --out-dir dist", |
11 | 11 | "prepublish": "npm run build", |
12 | | - "report-coverage": "cat ./coverage/lcov.info | codecov", |
| 12 | + "report-coverage": "nyc report --reporter=lcov | codecov", |
13 | 13 | "semantic-release": "semantic-release pre && npm publish && semantic-release post", |
14 | 14 | "start": "npm run test:watch", |
15 | | - "test": "istanbul cover -x ./test node_modules/mocha/bin/_mocha -- -R spec test/tests/index.js --compilers js:babel/register", |
| 15 | + "test": "nyc --require babel-core/register _mocha -- test/tests/index.js", |
16 | 16 | "test:watch": "nodemon -q --ignore test/.tmp/ --ignore test/artifacts/ --ignore coverage/ --exec \"npm run test\" --", |
17 | 17 | "test:windows": "node ./test/tools/trigger-appveyor-tests.js" |
18 | 18 | }, |
|
47 | 47 | "license": "MIT", |
48 | 48 | "devDependencies": { |
49 | 49 | "axios": "0.9.1", |
50 | | - "babel": "5.8.34", |
| 50 | + "babel-cli": "6.6.5", |
| 51 | + "babel-core": "6.6.5", |
| 52 | + "babel-preset-es2015": "6.6.0", |
| 53 | + "babel-preset-stage-2": "6.5.0", |
51 | 54 | "chai": "3.5.0", |
52 | 55 | "codecov.io": "0.1.6", |
53 | 56 | "ghooks": "1.0.3", |
54 | | - "istanbul": "0.3.22", |
55 | 57 | "mocha": "2.4.5", |
56 | 58 | "node-uuid": "1.4.7", |
57 | 59 | "nodemon": "1.9.1", |
| 60 | + "nyc": "6.0.0", |
58 | 61 | "rimraf": "2.5.2", |
59 | 62 | "semantic-release": "^4.3.5", |
60 | 63 | "semver": "5.1.0" |
|
65 | 68 | "dedent": "0.6.0", |
66 | 69 | "detect-indent": "4.0.0", |
67 | 70 | "find-node-modules": "1.0.1", |
68 | | - "glob": "7.0.0", |
| 71 | + "find-root": "^1.0.0", |
| 72 | + "glob": "7.0.3", |
69 | 73 | "gulp": "3.9.1", |
70 | 74 | "gulp-git": "1.7.0", |
71 | 75 | "inquirer": "0.12.0", |
72 | 76 | "lodash": "4.6.1", |
73 | | - "find-root": "^1.0.0", |
74 | 77 | "minimist": "1.2.0", |
75 | 78 | "shelljs": "0.5.3", |
76 | 79 | "strip-json-comments": "2.0.1" |
| 80 | + }, |
| 81 | + "babel": { |
| 82 | + "presets": [ |
| 83 | + "es2015", |
| 84 | + "stage-2" |
| 85 | + ] |
77 | 86 | } |
78 | 87 | } |
0 commit comments