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
|
DEPLOY_DIR = libs
|
||||||
GLOBAL_FLAGS = -x jquery -e
|
GLOBAL_FLAGS = -x jquery -e
|
||||||
NPM = npm
|
NPM = npm
|
||||||
OUTPUT_DIR = .
|
OUTPUT_DIR = .
|
||||||
UGLIFYJS = uglifyjs
|
UGLIFYJS = ./node_modules/.bin/uglifyjs
|
||||||
|
|
||||||
all: compile deploy clean uglify
|
all: compile deploy clean uglify
|
||||||
|
|
||||||
|
|
|
@ -29,11 +29,13 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"precommit-hook": "3.0.0",
|
"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",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "jshint ."
|
"lint": "./node_modules/.bin/jshint ."
|
||||||
},
|
},
|
||||||
"pre-commit": ["lint"]
|
"pre-commit": ["lint"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue