Skip to content

Commit d66e861

Browse files
committed
automate minfiy
1 parent 0de7551 commit d66e861

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"contributors": [],
77
"bin": {},
88
"scripts": {
9-
"test": "node_modules/.bin/karma start my.conf.js"
9+
"test": "node_modules/.bin/karma start my.conf.js",
10+
"minify": "uglifyjs BigInteger.js -o BigInteger.min.js"
1011
},
1112
"main": "./BigInteger",
1213
"repository": {
@@ -31,7 +32,8 @@
3132
"karma": "^0.13.3",
3233
"karma-coverage": "^0.4.2",
3334
"karma-jasmine": "^0.3.6",
34-
"karma-phantomjs-launcher": "~0.1"
35+
"karma-phantomjs-launcher": "~0.1",
36+
"uglifyjs": "^2.4.10"
3537
},
3638
"license": "Unlicense",
3739
"engines": {

0 commit comments

Comments
 (0)