mirror of https://github.com/CesiumGS/obj2gltf.git
commit
604e273d23
|
@ -12,3 +12,4 @@ doc
|
||||||
output
|
output
|
||||||
test
|
test
|
||||||
*.tgz
|
*.tgz
|
||||||
|
.nyc_output
|
||||||
|
|
|
@ -66,7 +66,7 @@ npm run eslint-watch
|
||||||
|
|
||||||
## Running Test Coverage
|
## Running Test Coverage
|
||||||
|
|
||||||
Coverage uses [istanbul](https://github.com/gotwarlost/istanbul). Run:
|
Coverage uses [nyc](https://github.com/istanbuljs/nyc). Run:
|
||||||
```
|
```
|
||||||
npm run coverage
|
npm run coverage
|
||||||
```
|
```
|
||||||
|
|
|
@ -70,9 +70,9 @@ gulp.task('test-watch', function () {
|
||||||
|
|
||||||
gulp.task('coverage', function () {
|
gulp.task('coverage', function () {
|
||||||
fsExtra.removeSync('coverage/server');
|
fsExtra.removeSync('coverage/server');
|
||||||
child_process.execSync('istanbul' +
|
child_process.execSync('nyc' +
|
||||||
' cover' +
|
' --all' +
|
||||||
' --include-all-sources' +
|
' --reporter=lcov' +
|
||||||
' --dir coverage' +
|
' --dir coverage' +
|
||||||
' -x "specs/**" -x "coverage/**" -x "doc/**" -x "bin/**" -x "index.js" -x "gulpfile.js"' +
|
' -x "specs/**" -x "coverage/**" -x "doc/**" -x "bin/**" -x "index.js" -x "gulpfile.js"' +
|
||||||
' node_modules/jasmine/bin/jasmine.js' +
|
' node_modules/jasmine/bin/jasmine.js' +
|
||||||
|
|
|
@ -41,10 +41,10 @@
|
||||||
"eslint-config-cesium": "^1.0.0",
|
"eslint-config-cesium": "^1.0.0",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"gulp-eslint": "^4.0.0",
|
"gulp-eslint": "^4.0.0",
|
||||||
"istanbul": "^0.4.5",
|
|
||||||
"jasmine": "^2.5.3",
|
"jasmine": "^2.5.3",
|
||||||
"jasmine-spec-reporter": "^4.1.0",
|
"jasmine-spec-reporter": "^4.1.0",
|
||||||
"jsdoc": "^3.4.3",
|
"jsdoc": "^3.4.3",
|
||||||
|
"nyc": "^11.0.2",
|
||||||
"open": "^0.0.5",
|
"open": "^0.0.5",
|
||||||
"requirejs": "^2.3.3"
|
"requirejs": "^2.3.3"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue