|
33 | 33 | "benchmark": "^2.1.1", |
34 | 34 | "bundle-loader": "~0.5.0", |
35 | 35 | "codacy-coverage": "^2.0.1", |
36 | | - "codecov.io": "^0.1.2", |
37 | 36 | "coffee-loader": "~0.7.1", |
38 | 37 | "coffee-script": "^1.10.0", |
39 | 38 | "coveralls": "^2.11.2", |
|
58 | 57 | "raw-loader": "~0.5.0", |
59 | 58 | "react": "^15.2.1", |
60 | 59 | "react-dom": "^15.2.1", |
| 60 | + "rimraf": "^2.6.2", |
61 | 61 | "script-loader": "~0.7.0", |
62 | 62 | "should": "^11.1.1", |
63 | 63 | "simple-git": "^1.65.0", |
|
89 | 89 | "schemas/" |
90 | 90 | ], |
91 | 91 | "scripts": { |
92 | | - "test": "mocha test/*.test.js --max-old-space-size=4096 --harmony --check-leaks", |
93 | | - "travis:test": "npm run cover:min", |
| 92 | + "test": "mocha test/*.test.js test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks", |
| 93 | + "test:integration": "mocha test/*.test.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks", |
| 94 | + "test:unit": "mocha test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks", |
| 95 | + "travis:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min", |
| 96 | + "travis:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min", |
94 | 97 | "travis:lint": "npm run lint-files && npm run nsp", |
95 | 98 | "travis:benchmark": "npm run benchmark", |
96 | | - "appveyor:test": "node node_modules\\mocha\\bin\\mocha --max-old-space-size=4096 --harmony test/*.test.js", |
| 99 | + "appveyor:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min", |
| 100 | + "appveyor:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min", |
97 | 101 | "appveyor:benchmark": "npm run benchmark", |
98 | | - "circleci:test": "node node_modules/mocha/bin/mocha --max-old-space-size=4096 --harmony test/*.test.js", |
| 102 | + "circleci:test": "node node_modules/mocha/bin/mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.test.js test/*.unittest.js", |
99 | 103 | "circleci:lint": "npm run lint-files && npm run nsp", |
100 | 104 | "build:examples": "cd examples && node buildAll.js", |
101 | 105 | "pretest": "npm run lint-files", |
|
104 | 108 | "fix": "npm run lint -- --fix", |
105 | 109 | "beautify-lint": "beautify-lint \"lib/**/*.js\" \"hot/**/*.js\" \"bin/**/*.js\" \"benchmark/*.js\" \"test/*.js\"", |
106 | 110 | "nsp": "nsp check --output summary", |
107 | | - "benchmark": "mocha --max-old-space-size=4096 --harmony test/*.benchmark.js -R spec", |
108 | | - "cover": "node --max-old-space-size=4096 --harmony ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' node_modules/mocha/bin/_mocha -- test/*.test.js", |
109 | | - "cover:min": "node --max-old-space-size=4096 --harmony ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' --report lcovonly node_modules/mocha/bin/_mocha -- test/*.test.js", |
| 111 | + "benchmark": "mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.benchmark.js -R spec", |
| 112 | + "cover": "npm run cover:init && npm run cover:all && npm run cover:report", |
| 113 | + "cover:init": "rimraf coverage", |
| 114 | + "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", |
| 115 | + "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", |
| 116 | + "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", |
| 117 | + "cover:report": "istanbul report", |
| 118 | + "cover:report-min": "istanbul report --report lcovonly", |
110 | 119 | "publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish" |
111 | 120 | } |
112 | 121 | } |
0 commit comments