Merge pull request #358 from gpolitis/master

Uglifyjs, browserify and jshint should be locally installed (as opposed to globally)
This commit is contained in:
George Politis 2015-09-16 11:06:36 -05:00
commit 5d1aeaa1c2
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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"]
}