Fix ESlint and add to Travis

This commit is contained in:
Paulus Schoutsen 2015-08-12 20:29:58 -07:00
parent b98f0ea3c3
commit cb5ba3a80b
4 changed files with 16 additions and 8 deletions

View File

@ -6,6 +6,6 @@
},
"rules": {
"comma-dangle": [2, "always-multiline"],
"no-underscore-dangle": false
"no-underscore-dangle": 0
}
}

4
.travis.yml Normal file
View File

@ -0,0 +1,4 @@
sudo: false
language: node_js
node_js:
- '0.10'

View File

@ -1,4 +1,4 @@
# Home Assistant Polymer
# Home Assistant Polymer [![Build Status](https://travis-ci.org/balloob/home-assistant-polymer.svg?branch=master)](https://travis-ci.org/balloob/home-assistant-polymer)
This is the repository for the official Home Assistant frontend. The frontend is built on top of the following technologies:

View File

@ -10,21 +10,25 @@
"frontend_html": "vulcanize --inline-css --inline-scripts --strip-comments src/home-assistant.html > build/frontend.vulcan.html && node scripts/minify.js",
"frontend_prod": "npm run js_prod && bower install && npm run frontend_html",
"frontend_demo": "npm run js_demo && bower install && npm run frontend_html",
"setup_js_dev": "npm install && cd node_modules && rm -rf home-assistant-js && git clone https://github.com/balloob/home-assistant-js.git && cd home-assistant-js && npm install"
"setup_js_dev": "npm install && cd node_modules && rm -rf home-assistant-js && git clone https://github.com/balloob/home-assistant-js.git && cd home-assistant-js && npm install",
"test": "eslint src"
},
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
"license": "MIT",
"dependencies": {
"home-assistant-js": "git+https://github.com/balloob/home-assistant-js.git#c345559ab7b8cc9b9bc1421dc22198df0a86740b",
"lodash": "^3.10.1",
"moment": "^2.10.6"
},
"devDependencies": {
"babel-core": "^5.8.21",
"babel-eslint": "^4.0.5",
"babel-loader": "^5.3.2",
"bower": "^1.4.1",
"eslint-config-airbnb": "0.0.7",
"home-assistant-js": "git+https://github.com/balloob/home-assistant-js.git#5f3aa5de006c715df9d11702c2af7b1241fceba8",
"eslint-plugin-react": "^3.2.1",
"html-minifier": "^0.7.2",
"lodash": "^3.10.1",
"moment": "^2.10.6",
"node-libs-browser": "^0.5.2",
"vulcanize": "^1.10.2",
"webpack": "^1.10.5"
"webpack": "^1.11.0"
}
}