upgrading npm packages, removing global package installs to avoid conflicts
diff --git a/.eslintrc b/.eslintrc
index 9735638..1165708 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -2,7 +2,7 @@
"rules": {
"indent": [2, 2],
"quotes": [2, "single"],
- "linebreak-style": [2, "unix"],
+ "linebreak-style": [2, "windows"],
"semi": [2, "always"],
"space-in-parens": [2, "never"],
"strict": [2, "never"],
diff --git a/package.json b/package.json
index 3c7c80f..b9b0f74 100644
--- a/package.json
+++ b/package.json
@@ -3,16 +3,22 @@
"version": "0.0.0",
"private": true,
"scripts": {
- "preinstall": "npm install gulp eslint -g",
- "lint": "eslint --ext .js ./src/main/org/freemarker/docgen/js/"
+ "build": "./node_modules/.bin/gulp",
+ "lint": "./node_modules/.bin/eslint --ext .js ./src/main/org/freemarker/docgen/js/"
},
"dependencies": {
- "gulp": "^3.8.11",
- "gulp-autoprefixer": "^2.2.0",
- "gulp-concat": "^2.5.2",
- "gulp-less": "^3.0.3",
- "gulp-minify-css": "^1.1.1",
- "gulp-rename": "^1.2.2",
- "gulp-uglify": "^1.2.0"
+ "clean-css": "3.4.8",
+ "eslint": "1.10.2",
+ "gulp": "3.9.0",
+ "gulp-autoprefixer": "3.1.0",
+ "gulp-concat": "2.6.0",
+ "gulp-less": "3.0.5",
+ "gulp-minify-css": "1.2.1",
+ "gulp-rename": "1.2.2",
+ "gulp-uglify": "1.5.1",
+ "less": "2.5.3"
+ },
+ "engines": {
+ "node": ">=0.12.4"
}
}