Browse Source

readme updates

pull/1/head
Tim Glasgow 2 years ago
parent
commit
79b5d20fc4
  1. 15
      README.md
  2. 1
      changeme/package.json

15
README.md

@ -1,7 +1,20 @@
# react-native-template
Coding conventions:
## Coding Conventions
- Lower-case single-word folder names
- Upper-case single-word file names
- Upper-case exports IF export is an object or reference
- Lower-case exports IF export is a function
## Testing Scripts
- "npm run test": run all tests with minimal console output
- "npm run testVerbose": run all tests with all console output
- "npm run testCoverage": produce coverage report for all project code
- "npm run testActionCreators": only test action creators
- "npm run testApp": only test app screens and components
- "npm run testMigrations": only test database migrations
- "npm run testRepos": only test database repositories
- "npm run testDB": only test database setup and API calls
- "npm run testNav": only test navigation
- "npm run testThemes": only test app theming and styles setup
- "npm run testServices": only test app services

1
changeme/package.json

@ -16,6 +16,7 @@
"testDB": "jest __tests__/DB-test.js --silent",
"testNav": "jest __tests__/Nav-test.js --silent",
"testThemes": "jest __tests__/Themes-test.js --silent",
"testServices": "jest __tests__/Services-test.js --silent",
"lint": "eslint ."
},
"dependencies": {

Loading…
Cancel
Save