From 31d151dcc2dd9f4b6bed42b98e739a5d87256a46 Mon Sep 17 00:00:00 2001 From: Julia Friesel <julia.friesel@gmail.com> Date: Tue, 29 May 2018 15:30:39 +0200 Subject: [PATCH] Update readme --- README.md | 9 ++++----- package.json | 5 +---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5184e3a4..178d2184 100644 --- a/README.md +++ b/README.md @@ -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`. \ No newline at end of file diff --git a/package.json b/package.json index 56aebc99..b89df4a9 100644 --- a/package.json +++ b/package.json @@ -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" } } -- GitLab