partnr
partnr copied to clipboard
A decentralized savings platform
Partnr
This is a decentralized savings platform built to run on ethereum, using Dai.js
Table of Contents
-
Available Scripts
- npm start
- npm test
- npm run ios
- npm run android
- npm run android-build
- npm run android-bundle
- npm run android-clean
- Writing and Running Tests
- License
- Contribute
Available Scripts
npm install
Installs all dependencies and prepares the app to run.
npm start
Runs Packager to provide your app in development mode.
npm test
Runs the jest test runner on your tests.
npm run ios
Open your app in the iOS Simulator if you're on a Mac and have it installed. Depends on npm start
.
npm run android
Open your app on a connected Android device or emulator. Requires an installation of Android build tools (see React Native docs for detailed setup). Depends on npm start
.
npm run android:build
Build the Android app and generate the APK to install on the device.
npm run android:bundle
Bundles the ReactNative JavaScript code. Run it before running the build command to be able to run the test without depending on the development server.
npm run android:generate-apk
Bundle and build the Android app.
npm run android:clean
Clean the Android generated build files.
Writing and Running Tests
This project is set up to use jest for tests. You can configure whatever testing strategy you like, but jest works out of the box. Create test files in directories called __tests__
or with the .test
extension to have the files loaded by jest. See the template project for an example test. The jest documentation is also a wonderful resource, as is the React Native testing tutorial.
License
MIT
Contribute
TODO