reactxp/samples/RXPTest
Eric Traut 8b55976144 Updated dependences for all samples. 2018-09-30 13:51:14 -07:00
..
android Added Android version of RXPTest. 2018-01-07 12:50:34 -08:00
ios Fix RXPTest xcode project - remove invalid RNGL reference. (#484) 2018-02-02 21:34:32 -08:00
src Allow view to be draggable (#812) 2018-09-26 08:33:48 -07:00
windows Added better keyboard input support to windows flavor (#627) 2018-05-15 15:46:07 -07:00
.gitignore added Windows support for RXPTest app. (#412) 2018-01-06 13:55:00 -08:00
README.md added Windows support for RXPTest app. (#412) 2018-01-06 13:55:00 -08:00
index.android.js Started to implement test app for ReactXP. 2017-12-19 16:48:08 -08:00
index.html Added missing Utf8 meta tag in web samples. 2018-09-07 20:15:38 -07:00
index.ios.js Started to implement test app for ReactXP. 2017-12-19 16:48:08 -08:00
index.windows.js Fixed RXPTest to use the right ReaxctXP initialization path. (#433) 2018-01-16 18:06:46 -08:00
package.json Updated dependences for all samples. 2018-09-30 13:51:14 -07:00
tsconfig.json Made sample code compile with "strict" tsc flag enabled. 2018-09-11 18:32:02 -07:00
tslint.json Added use of tslint in RXPApp and fixed lint errors. 2018-06-25 10:51:19 -07:00
webpack.config.ts Added use of tslint in RXPApp and fixed lint errors. 2018-06-25 10:51:19 -07:00

README.md

RXPTest

This app provides tests for all of the functionality exposed by ReactXP.

Building

  • From the RXPTest directory, run npm install. This fetches the dependencies.

Building RXPTest for Web

  • Run npm run web-watch. This compiles the TypeScript code and recompiles it whenever any files are changed.
  • Open index.html in your browser to run the test in a browser.

Building for React Native

  • Run npm run rn-watch. This compiles the TypeScript code and recompiles it whenever any files are changed.
  • In another command prompt run npm start. This starts the React Native Packager.
  • For iOS or Android: Use Xcode or Android Studio to build and deploy the native app code just like you would with any other React Native project.
  • For Windows: Open windows\RXPTest.sln in Visual Studio 2017. Build and run the app for x64 or x86.