Skip to content

Commit

Permalink
package.json up to date (#15)
Browse files Browse the repository at this point in the history
* up to date

* Update package.json
  • Loading branch information
Gabriel Kalani authored and raphamorim committed Aug 3, 2017
1 parent 5e31305 commit 8f24dcb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -4,7 +4,7 @@
"description": "Async CSS/JavaScript loader & dependency manager in ~1kb",
"main": "nautilus.js",
"scripts": {
"coverage": "./node_modules/.bin/istanbul cover grunt test --report lcovonly -- -R spec",
"coverage": "./node_modules/.bin/istanbul cover grunt test --report lcovonly -- -R spec --force",
"ci": "npm run-script coverage && node ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info && rm -rf ./coverage",
"test": "grunt",
"test:only": "phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/*.html spec '{\"useColors\":true}'"
Expand All @@ -27,15 +27,15 @@
},
"homepage": "https://github.com/raphamorim/nautilus.js#readme",
"devDependencies": {
"chai": "3.4.1",
"coveralls": "2.11.6",
"grunt": "0.4.5",
"chai": "4.1.0",
"coveralls": "2.13.1",
"grunt": "1.0.1",
"grunt-contrib-concat": "1.0.1",
"grunt-contrib-uglify": "3.0.1",
"grunt-contrib-watch": "0.6.1",
"grunt-run": "0.5.2",
"grunt-contrib-watch": "1.0.0",
"grunt-run": "0.7.0",
"istanbul": "0.4.2",
"mocha": "2.3.4",
"mocha": "3.4.2",
"mocha-phantomjs-core": "2.1.2",
"phantomjs-prebuilt": "2.1.14"
}
Expand Down
7 changes: 5 additions & 2 deletions test/index.html
Expand Up @@ -22,8 +22,11 @@
<script src="./test-fetch.js"></script>

<script>
if (window.mochaPhantomJS) { mochaPhantomJS.run(); }
else { mocha.run(); }
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
</script>
</body>
</html>

0 comments on commit 8f24dcb

Please sign in to comment.