Update readme

This commit is contained in:
Julia Friesel
2018-05-29 15:30:39 +02:00
parent bc10c9447f
commit 31d151dcc2
2 changed files with 5 additions and 9 deletions
+4 -5
View File
@@ -15,10 +15,9 @@ A menstrual cycle tracking app that's open-source and leaves your data on your p
4. Run `npm install`
5. Run `npm start`
6. Run `npm install -g react-native`
6. In another terminal tab or window, run `react-native run-android`
7. In yet another tab, run `react-native log-android` to see logging output
7. We recommend installing an [ESLint plugin in your editor](https://eslint.org/docs/user-guide/integrations#editors). There will soon be an `.eslintrc` file in this project which will be used by the plugin to check your code for style errors and potential bugs.
6. In another terminal tab or window, run `npm run android`
7. In yet another tab, run `npm run log` to see logging output
7. We recommend installing an [ESLint plugin in your editor](https://eslint.org/docs/user-guide/integrations#editors). There's an `.eslintrc` file in this project which will be used by the plugin to check your code for style errors and potential bugs.
## Tests
You can run the tests with `npm test`.
You can run the tests with `npm test`.
+1 -4
View File
@@ -8,7 +8,7 @@
],
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"run-android": "./node_modules/.bin/react-native run-android",
"android": "./node_modules/.bin/react-native run-android",
"log": "./node_modules/.bin/react-native log-android",
"test": "mocha --recursive --require babel-core/register test && npm run lint",
"lint": "eslint app test"
@@ -25,8 +25,5 @@
"eslint-plugin-react": "^7.8.2",
"mocha": "^5.2.0",
"react-test-renderer": "16.3.1"
},
"jest": {
"preset": "react-native"
}
}