Skip to content

Commit 223f6f3

Browse files
committed
Make npm package smaller
Ref. mathiasbynens#13.
1 parent 792fdab commit 223f6f3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = function(grunt) {
1919
'command': 'istanbul cover --report "html" --verbose --dir "coverage" "tests/tests.js"; istanbul report --root "coverage" --format "html"'
2020
},
2121
'cover-coveralls': {
22-
'command': 'istanbul cover --verbose --dir "coverage" "tests/tests.js" && cat coverage/lcov.info | coveralls; rm -rf coverage/lcov*'
22+
'command': 'istanbul cover --verbose --dir "coverage" "tests/tests.js" && coveralls < coverage/lcov.info|coveralls < coverage/lcov.info; rm -rf coverage/lcov*'
2323
},
2424
'test-narwhal': {
2525
'command': 'echo "Testing in Narwhal..."; export NARWHAL_OPTIMIZATION=-1; narwhal "tests/tests.js"'

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
"url": "https://github.com/mathiasbynens/utf8.js.git"
2121
},
2222
"bugs": "https://github.com/mathiasbynens/utf8.js/issues",
23+
"files": [
24+
"LICENSE-MIT.txt",
25+
"utf8.js"
26+
],
2327
"scripts": {
2428
"test": "node tests/tests.js"
2529
},

0 commit comments

Comments
 (0)