diff --git a/Makefile b/Makefile index f67b70ecb..c8d0f5168 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ -BROWSERIFY = browserify +BROWSERIFY = ./node_modules/.bin/browserify DEPLOY_DIR = libs GLOBAL_FLAGS = -x jquery -e NPM = npm OUTPUT_DIR = . -UGLIFYJS = uglifyjs +UGLIFYJS = ./node_modules/.bin/uglifyjs all: compile deploy clean uglify diff --git a/package.json b/package.json index 00a7cfc44..5375a5427 100644 --- a/package.json +++ b/package.json @@ -29,11 +29,13 @@ }, "devDependencies": { "precommit-hook": "3.0.0", - "uglify-js": "2.4.24" + "jshint": "2.8.0", + "uglify-js": "2.4.24", + "browserify": "11.1.x" }, "license": "Apache-2.0", "scripts": { - "lint": "jshint ." + "lint": "./node_modules/.bin/jshint ." }, "pre-commit": ["lint"] }