|
1 | 1 | { |
2 | 2 | "name": "webpack", |
3 | | - "version": "3.8.0", |
| 3 | + "version": "3.8.1", |
4 | 4 | "author": "Tobias Koppers @sokra", |
5 | 5 | "description": "Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.", |
6 | 6 | "dependencies": { |
|
32 | 32 | "benchmark": "^2.1.1", |
33 | 33 | "bundle-loader": "~0.5.0", |
34 | 34 | "codacy-coverage": "^2.0.1", |
35 | | - "codecov.io": "^0.1.2", |
36 | 35 | "coffee-loader": "~0.7.1", |
37 | 36 | "coffee-script": "^1.10.0", |
38 | 37 | "coveralls": "^2.11.2", |
|
57 | 56 | "raw-loader": "~0.5.0", |
58 | 57 | "react": "^15.2.1", |
59 | 58 | "react-dom": "^15.2.1", |
| 59 | + "rimraf": "^2.6.2", |
60 | 60 | "script-loader": "~0.7.0", |
61 | 61 | "should": "^11.1.1", |
62 | 62 | "simple-git": "^1.65.0", |
|
88 | 88 | "schemas/" |
89 | 89 | ], |
90 | 90 | "scripts": { |
91 | | - "test": "mocha test/*.test.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks", |
92 | | - "travis:test": "npm run cover:min", |
| 91 | + "test": "mocha test/*.test.js test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks", |
| 92 | + "test:integration": "mocha test/*.test.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks", |
| 93 | + "test:unit": "mocha test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks", |
| 94 | + "travis:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min", |
| 95 | + "travis:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min", |
93 | 96 | "travis:lint": "npm run lint-files && npm run nsp", |
94 | 97 | "travis:benchmark": "npm run benchmark", |
95 | | - "appveyor:test": "node node_modules\\mocha\\bin\\mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.test.js", |
| 98 | + "appveyor:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min", |
| 99 | + "appveyor:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min", |
96 | 100 | "appveyor:benchmark": "npm run benchmark", |
97 | | - "circleci:test": "node node_modules/mocha/bin/mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.test.js", |
| 101 | + "circleci:test": "node node_modules/mocha/bin/mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.test.js test/*.unittest.js", |
98 | 102 | "circleci:lint": "npm run lint-files && npm run nsp", |
99 | 103 | "build:examples": "cd examples && node buildAll.js", |
100 | 104 | "pretest": "npm run lint-files", |
|
104 | 108 | "beautify-lint": "beautify-lint \"lib/**/*.js\" \"hot/**/*.js\" \"bin/**/*.js\" \"benchmark/*.js\" \"test/*.js\"", |
105 | 109 | "nsp": "nsp check --output summary", |
106 | 110 | "benchmark": "mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.benchmark.js -R spec", |
107 | | - "cover": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' node_modules/mocha/bin/_mocha -- test/*.test.js", |
108 | | - "cover:min": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' --report lcovonly node_modules/mocha/bin/_mocha -- test/*.test.js", |
| 111 | + "cover": "npm run cover:init && npm run cover:all && npm run cover:report", |
| 112 | + "cover:init": "rimraf coverage", |
| 113 | + "cover:all": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.test.js test/*.unittest.js", |
| 114 | + "cover:integration": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.test.js", |
| 115 | + "cover:unit": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.unittest.js", |
| 116 | + "cover:report": "istanbul report", |
| 117 | + "cover:report-min": "istanbul report --report lcovonly", |
109 | 118 | "publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish" |
110 | 119 | } |
111 | 120 | } |
0 commit comments