mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-26 23:05:55 +08:00
Install eslint and fix code style
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user