diff options
author | Max Wu | 2017-02-17 01:17:01 +0800 |
---|---|---|
committer | GitHub | 2017-02-17 01:17:01 +0800 |
commit | 91949be65148477b21dbb1fe45e2062dbea0a5e8 (patch) | |
tree | f76fd8ff38285c2558beafc6e5ec8f6a270d0e7b /package.json | |
parent | e19712321fc9358429d5f2a67fb1e5556d08bbba (diff) | |
parent | 40dfffd4f47a72549fb52d39a25c630551e761fc (diff) |
Merge pull request #359 from bananaappletw/master
Add travis ci
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json index d5e8e55c..a179d93e 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,8 @@ "main": "app.js", "license": "MIT", "scripts": { + "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", @@ -120,7 +122,7 @@ "xss": "^0.3.3" }, "engines": { - "node": ">=4.x" + "node": ">=6.x" }, "bugs": "https://github.com/hackmdio/hackmd/issues", "keywords": [ @@ -150,6 +152,7 @@ "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", |