Install eslint and fix code style

This commit is contained in:
Nicolas Gallagher
2015-09-02 17:15:05 -07:00
parent ff5c8f64cc
commit 1417dd2e6a
31 changed files with 262 additions and 240 deletions

View File

@@ -12,6 +12,7 @@
"build:watch": "npm run build -- --watch",
"build:example": "npm run build && cd example && webpack --config ./webpack.config.js",
"build:example:watch": "npm run build:example -- --watch",
"lint": "eslint .",
"test": "NODE_ENV=test karma start karma.config.js",
"test:watch": "npm test -- --no-single-run"
},
@@ -21,9 +22,15 @@
"devDependencies": {
"autoprefixer-core": "^5.2.0",
"babel-core": "^5.5.6",
"babel-eslint": "^4.1.1",
"babel-loader": "^5.1.4",
"babel-runtime": "^5.5.6",
"css-loader": "^0.15.1",
"eslint": "^1.3.1",
"eslint-config-standard": "^4.1.0",
"eslint-config-standard-react": "^1.0.4",
"eslint-plugin-react": "^3.3.1",
"eslint-plugin-standard": "^1.3.0",
"extract-text-webpack-plugin": "^0.8.1",
"karma": "^0.13.9",
"karma-chrome-launcher": "^0.2.0",