Skip to content

Commit 9329cfa

Browse files
authored
Merge pull request #18 from maxnowack/build-fix
Enable build without globally installed uglifyjs
2 parents d50a48c + a9da23a commit 9329cfa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
cat jsonic-head.js jsonic-parser.js jsonic-foot.js > jsonic.js
55

66
echo "note: ignore warnings in peg.js code"
7-
uglifyjs jsonic.js -c "evaluate=false" --comments "/ Copyright .*/" -m --source-map jsonic-min.map -o jsonic-min.js
7+
./node_modules/.bin/uglifyjs jsonic.js -c "evaluate=false" --comments "/ Copyright .*/" -m --source-map jsonic-min.map -o jsonic-min.js

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"jasmine-node": "^1.14.5",
3535
"pegjs": "^0.8.0",
3636
"phantomjs": "^1.8.2-3",
37+
"uglify-js": "^2.8.29",
3738
"underscore": "^1.8.3"
3839
}
3940
}

0 commit comments

Comments
 (0)