Use browserify and "modules"

Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D37
This commit is contained in:
Ben Alpert
2013-07-05 21:44:44 -07:00
parent 97dc1bf1da
commit afb29f5df3
6 changed files with 102 additions and 100 deletions

View File

@@ -1,6 +1,6 @@
FILES=parser.js style.css build.js index.html
.PHONY: build ship copy
.PHONY: build ship copy watch
build: parser.js
ship: build
@@ -13,3 +13,6 @@ copy: build
parser.js: parser.jison
./node_modules/.bin/jison parser.jison
watch:
./node_modules/.bin/watchify MJLite.js --standalone MJLite -o build/MJLite.js