Added dependancies and linter

This commit is contained in:
Jake Howard 2016-01-31 22:02:17 +00:00
parent ca4db5c2ac
commit 42395f63c9
2 changed files with 30 additions and 4 deletions

12
.eslintrc Normal file
View file

@ -0,0 +1,12 @@
{
"extends": "./node_modules/eslint-config/.eslintrc",
"parser": "babel-eslint",
"plugins": [
"react",
"react-native"
],
"rules": {
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"react-native/no-unused-styles": 2
}
}

View file

@ -1,11 +1,25 @@
{
"name": "Sphere",
"version": "0.0.1",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start"
"lint": "eslint 'app/' 'index.ios.js' 'index.android.js'",
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "npm run lint"
},
"dependencies": {
"react-native": "=0.19.0"
"immutable": "=3.7.6",
"react-native": "=0.19.0",
"react-native-vector-icons": "=1.0.4",
"underscore": "=1.8.3"
},
"devDependencies": {
"babel-eslint": "=4.1.6",
"eslint": "=1.10.3",
"eslint-config": "git://github.com/oleous/eslint-config.git",
"eslint-plugin-react": "=3.14.0",
"eslint-plugin-react-native": "=0.5.0",
"react": "=0.14.6",
"react-addons-test-utils": "=0.14.6"
}
}