Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 2.8 KB

contributing.md

File metadata and controls

88 lines (58 loc) · 2.8 KB

Contributing

Development

Fork this repo & install dependencies

We're recommended use yarn because we keep the dependencies lock of yarn.

# In react-native-debugger directory
$ yarn
$ cd npm-package && yarn && cd ..

If you want to debug the NPM package, just run npm link <the package path> on your React Native project.

Run on development mode

$ yarn dev:webpack  # Then open the another terminal tab
$ yarn dev:electron

Please ensure the React Native Debugger production app is closed.

Run on production mode

$ yarn build
$ yarn start

Run test

Run lint and test, currently we just wrote E2E test for RNDebugger.

$ yarn lint
$ yarn test
$ yarn test-e2e

You need to closes all React Native packager (make sure 8081 or 8088 port not listening) when running the test.

Packaging app

$ yarn run pack-macos
$ yarn run pack-linux
$ yarn run pack-windows
$ yarn run pack # all

If you want to build binaries yourself, please remove ../electron/update.js (and electon/main.js usage), osx-sign in ../scripts/package-macos.sh.

Financial contributions

We also welcome financial contributions in full transparency on our open collective. Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed.

Credits

Contributors

Thank you to all the people who have already contributed to react-native-debugger!

Backers

Thank you to all our backers! [Become a backer]

Sponsors

Thank you to all our sponsors! (please ask your company to also support this open source project by becoming a sponsor)

Other documentations