Update readme
This commit is contained in:
@@ -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
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user