|
38 | 38 | "file-loader": "~0.8.0", |
39 | 39 | "glob": "^5.0.14", |
40 | 40 | "i18n-webpack-plugin": "~0.2.0", |
41 | | - "istanbul": "^0.3.13", |
| 41 | + "istanbul": "^0.4.5", |
42 | 42 | "jade": "^1.11.0", |
43 | 43 | "jade-loader": "~0.7.0", |
44 | 44 | "js-beautify": "^1.5.10", |
45 | 45 | "json-loader": "~0.5.1", |
46 | 46 | "less": "^2.5.1", |
47 | 47 | "less-loader": "^2.0.0", |
48 | | - "mocha": "~2.2.0", |
49 | | - "mocha-lcov-reporter": "0.0.2", |
| 48 | + "mocha": "^3.2.0", |
| 49 | + "mocha-lcov-reporter": "^1.0.0", |
50 | 50 | "raw-loader": "~0.5.0", |
51 | 51 | "script-loader": "~0.6.0", |
52 | 52 | "should": "^7.0.2", |
|
78 | 78 | "scripts": { |
79 | 79 | "pretest": "npm run lint && npm run beautify-lint", |
80 | 80 | "test": "mocha", |
81 | | - "travis": "npm run cover -- --report lcovonly", |
| 81 | + "travis:test": "npm run cover:min", |
| 82 | + "travis:lint": "npm run lint && npm run beautify-lint", |
| 83 | + "appveyor:test": "node --max_old_space_size=4096 node_modules\\mocha\\bin\\mocha --harmony test/*.test.js", |
82 | 84 | "lint": "eslint lib bin hot scripts", |
83 | 85 | "beautify-lint": "node ./scripts/beautify-check", |
84 | 86 | "beautify": "node ./scripts/beautify-rewrite", |
85 | 87 | "precover": "npm run lint && npm run beautify-lint", |
86 | | - "cover": "istanbul cover -x **/*.runtime.js node_modules/mocha/bin/_mocha", |
| 88 | + "cover": "node ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' node_modules/mocha/bin/_mocha -- test/*.test.js", |
| 89 | + "cover:min": "node ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' --report lcovonly node_modules/mocha/bin/_mocha -- test/*.test.js", |
87 | 90 | "publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish" |
88 | 91 | } |
89 | 92 | } |
0 commit comments