summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json23
1 files changed, 17 insertions, 6 deletions
diff --git a/package.json b/package.json
index a13ac979..a179d93e 100644
--- a/package.json
+++ b/package.json
@@ -5,8 +5,10 @@
"main": "app.js",
"license": "MIT",
"scripts": {
- "build:dev": "webpack --config webpack.config.js --progress --colors --watch",
- "build:prod": "webpack --config webpack.production.js --progress --colors",
+ "test": "npm run-script lint",
+ "lint": "eslint .",
+ "dev": "webpack --config webpack.config.js --progress --colors --watch",
+ "build": "webpack --config webpack.production.js --progress --colors",
"postinstall": "bin/heroku",
"start": "node app.js"
},
@@ -71,7 +73,7 @@
"markdown-it-sup": "^1.0.0",
"markdown-pdf": "^7.0.0",
"mathjax": "~2.7.0",
- "mermaid": "~6.0.0",
+ "mermaid": "~7.0.0",
"meta-marked": "^0.4.2",
"method-override": "^2.3.7",
"moment": "^2.17.1",
@@ -115,12 +117,12 @@
"validator": "^6.2.0",
"velocity-animate": "^1.4.0",
"visibilityjs": "^1.2.4",
- "viz.js": "^1.4.1",
+ "viz.js": "^1.7.0",
"winston": "^2.3.0",
"xss": "^0.3.3"
},
"engines": {
- "node": ">=4.x"
+ "node": ">=6.x"
},
"bugs": "https://github.com/hackmdio/hackmd/issues",
"keywords": [
@@ -140,9 +142,17 @@
"url": "https://github.com/hackmdio/hackmd.git"
},
"devDependencies": {
+ "babel-cli": "^6.18.0",
+ "babel-core": "^6.21.0",
+ "babel-loader": "^6.2.10",
+ "babel-plugin-transform-runtime": "^6.15.0",
+ "babel-polyfill": "^6.22.0",
+ "babel-preset-es2015": "^6.18.0",
+ "babel-runtime": "^6.20.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.26.1",
"ejs-loader": "^0.3.0",
+ "eslint": "^3.15.0",
"exports-loader": "^0.6.3",
"expose-loader": "^0.7.1",
"extract-text-webpack-plugin": "^1.0.1",
@@ -156,6 +166,7 @@
"script-loader": "^0.7.0",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
- "webpack": "^1.14.0"
+ "webpack": "^1.14.0",
+ "webpack-parallel-uglify-plugin": "^0.2.0"
}
}