Skip to content

Commit

Permalink
Make npm package smaller
Browse files Browse the repository at this point in the history
Ref. #13.
  • Loading branch information
mathiasbynens committed Jul 20, 2015
1 parent 792fdab commit 223f6f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = function(grunt) {
'command': 'istanbul cover --report "html" --verbose --dir "coverage" "tests/tests.js"; istanbul report --root "coverage" --format "html"'
},
'cover-coveralls': {
'command': 'istanbul cover --verbose --dir "coverage" "tests/tests.js" && cat coverage/lcov.info | coveralls; rm -rf coverage/lcov*'
'command': 'istanbul cover --verbose --dir "coverage" "tests/tests.js" && coveralls < coverage/lcov.info|coveralls < coverage/lcov.info; rm -rf coverage/lcov*'
},
'test-narwhal': {
'command': 'echo "Testing in Narwhal..."; export NARWHAL_OPTIMIZATION=-1; narwhal "tests/tests.js"'
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
"url": "https://github.com/mathiasbynens/utf8.js.git"
},
"bugs": "https://github.com/mathiasbynens/utf8.js/issues",
"files": [
"LICENSE-MIT.txt",
"utf8.js"
],
"scripts": {
"test": "node tests/tests.js"
},
Expand Down

0 comments on commit 223f6f3

Please sign in to comment.