|
9 | 9 | "check-coverage": "nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100", |
10 | 10 | "start": "npm run test", |
11 | 11 | "watch:test": "npm t -- -w", |
12 | | - "test": "node_modules/mocha/bin/mocha src --compilers js:babel-register", |
13 | | - "cover": "nyc npm t", |
| 12 | + "test": "mocha src/index.spec.js --compilers js:babel-register", |
| 13 | + "cover": "nyc --reporter=lcov npm t", |
14 | 14 | "prebuild": "rimraf dist", |
15 | 15 | "build": "npm-run-all --parallel build:*", |
16 | | - "build:main": "./node_modules/.bin/babel --copy-files --out-dir dist --ignore *.spec.js src", |
| 16 | + "build:main": "babel --copy-files --out-dir dist --ignore *.spec.js src", |
17 | 17 | "build:umd": "webpack --output-filename index.umd.js", |
18 | 18 | "build:umd.min": "webpack --output-filename index.umd.min.js -p", |
19 | 19 | "validate": "npm run cover && npm run check-coverage", |
|
41 | 41 | "unique-random-array": "1.0.0" |
42 | 42 | }, |
43 | 43 | "devDependencies": { |
44 | | - "babel-cli": "^6.14.0", |
45 | | - "babel-loader": "^6.2.5", |
46 | | - "babel-preset-es2015": "^6.14.0", |
47 | | - "babel-preset-stage-2": "^6.13.0", |
48 | | - "babel-register": "^6.14.0", |
| 44 | + "babel-cli": "6.11.4", |
| 45 | + "babel-loader": "6.2.4", |
| 46 | + "babel-preset-es2015": "6.13.2", |
| 47 | + "babel-preset-stage-2": "6.13.0", |
| 48 | + "babel-register": "6.11.6", |
49 | 49 | "chai": "3.5.0", |
50 | | - "codecov.io": "^0.1.6", |
51 | | - "commitizen": "2.8.6", |
52 | | - "cz-conventional-changelog": "1.2.0", |
53 | | - "ghooks": "^1.3.2", |
54 | | - "json-loader": "^0.5.4", |
55 | | - "mocha": "3.0.2", |
56 | | - "npm-run-all": "^3.1.0", |
57 | | - "nyc": "^8.3.0", |
58 | | - "rimraf": "^2.5.4", |
| 50 | + "codecov": "1.0.1", |
| 51 | + "commitizen": "2.8.5", |
| 52 | + "cz-conventional-changelog": "1.1.6", |
| 53 | + "ghooks": "1.3.2", |
| 54 | + "json-loader": "0.5.4", |
| 55 | + "mocha": "3.0.1", |
| 56 | + "npm-run-all": "2.3.0", |
| 57 | + "nyc": "7.1.0", |
| 58 | + "rimraf": "2.5.4", |
59 | 59 | "semantic-release": "^4.2.1", |
60 | 60 | "webpack": "1.13.1" |
61 | 61 | }, |
|
65 | 65 | }, |
66 | 66 | "config": { |
67 | 67 | "commitizen": { |
68 | | - "path": "cz-conventional-changelog" |
| 68 | + "path": "node_modules/cz-conventional-changelog" |
69 | 69 | }, |
70 | 70 | "ghooks": { |
71 | 71 | "pre-commit": "npm run validate" |
|
0 commit comments