Merge pull request #358 from gpolitis/master
Uglifyjs, browserify and jshint should be locally installed (as opposed to globally)
This commit is contained in:
commit
5d1aeaa1c2
4
Makefile
4
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
|
||||
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue