Skip to content

Commit 66788ec

Browse files
author
zckrs
committed
Npm script add locate module in global scope
1 parent 0db3c3b commit 66788ec

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ matrix:
2424
install:
2525
# Check the size of caches
2626
- du -sh ./node_modules ./test/tmp/deps/node_modules || true
27-
# Disable the spinner, it looks bad on Travis
28-
- npm config set spin false
2927
- npm install -g npm@latest
3028
# Instal npm dependecies and ensure that npm cache is not stale
3129
- ./scripts/generator-install-dependencies.sh

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"repository": "Swiip/generator-gulp-angular",
1818
"scripts": {
1919
"pretest": "./scripts/prepare-test.sh",
20-
"test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- test/node test/template && ./node_modules/.bin/mocha test/inception/test-inception.js -ig protractor --no-insight",
20+
"test": "istanbul cover _mocha -- test/node test/template && mocha test/inception/test-inception.js -ig protractor --no-insight",
2121
"update-shrinkwrap": "./scripts/update-test-shrinkwrap.sh",
2222
"deploy": "./scripts/deploy-boilerplate.sh"
2323
},

0 commit comments

Comments
 (0)