Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Shufflow/mind-blown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mind Blown Build Status codecov

Google Play Apple App Store

Requirements

The recommended IDE for this project is VS Code with the following extensions

Native iOS dependencies are installed with CocoaPods, which should be installed with Bundler.

Installation

Installing the project and its dependencies

yarn && yarn install-ios

This should install React, React-Native, Typescript and any other Javascript dependencies, along with installing (if necessary) CococaPods and iOS dependencies.

Running

Building the app can be done in the following ways:

VS Code

There are embedded build tasks for both, iOS and Android.

CLI

By running in the Terminal:

ENVFILE=[path_to_env] react-native run-{ios|android}
Xcode

Open MindBlown.xcworkspace from the ios/ directory and select the MindBlown scheme before triggering the build.

Testing

You should run tests by calling yarn test, but if you want to debug unit tests or run the tests for a single file, there are embedded build tasks for launching Jest with VS Code. These will run in a separate terminal and attach to VS Code's debugger.

Scripts

The following scripts are embedded with the package:

Name Description
install-ios Installs iOS dependencies
lint Runs TSLint
test Runs tests in the application
update-icons Reads SVG files in assets/icons and stores in assets/icons.ts
gen-licenses Compiles the dependencies' licenses into a single file
update-version Updates app with the given version

Bash Scripts

The following bash scripts are available in the scripts/ directory:

Name Description
reset-metro Starts the react-native package with a clean cache
reset-metro--hard Clears watchman, deletes the node_modules dir and starts the packager with a clean cache

License

See the LICENSE file for more info.