warning: this doesn't work with npm5 yet. Use npm4 or use yarn. To downgrade to npm4 you can
npm install -g npm@latest-4
npm run build
To build to JS run
npm run build:web and then run a static server, like
python -m SimpleHTTPServer and go to
localhost:8000. If you're using safari you can simply open the
index.html and tick
Develop > Disable Cross-Origin Restrictions.
To build to native run
npm run build:native and run
npm run start:native
The build system used is bsb-native.