Native Directory is a website where you can see all of the libraries that are compatible with React Native.
Website: https://www.native.directory/
- You made a repository on GitHub and you want the world to know it works with React Native.
- You want to submit a pull request to improve Native Directory.
- You want to report a bug or make a suggestion.
Yeah of course:
https://native.directory?json=true
- Returns a list of all libraries in
JSON
format.
https://native.directory?json=true&search=webgl
- Returns a list of all libraries in
JSON
format that have the keywordwebgl
.
https://native.directory?json=true&search=webgl&expo=true
- Returns a list of all libraries in
JSON
format that have the keywordwebgl
and work withexpo
.
https://native.directory?json=true&search=webgl&expo=true&android=true
- Returns a list of all libraries in
JSON
format that have the keywordwebgl
and work withexpo
andandroid
.
- Submit a PR with changes to
scripts/calculate-score.js
. - You have all the power! Tell us what you want.
- Add it to
react-native-libraries.json
. - Submit a PR.
Please follow this format and indentation:
{
"githubUrl": "<THE GITHUB URL>",
"ios": false,
"android": false,
"web": false,
"expo": false
},
ios
- works on iOS phones.android
- works on Android phones.web
- can be used in the browser.expo
- can be used without detaching an Expo application.
Prerequisites
- Node 7.9.0+
Commands
npm install
npm run dev
yarn add
yarn dev
You should be able to visit localhost:8000
in your browser.
- To update site data you need to provide a couple of keys in a file called
secrets.json
. - You must create your own
secrets.json
in the root directory of the repo. - Visit https://github.com/settings/developers to get your keys.
{
"GITHUB_CLIENT_ID": "YOUR CLIENT ID",
"GITHUB_CLIENT_SECRET": "YOUR CLIENT SECRET"
}
This command creates site data in ./build/data.json
npm run create-data
- Site is hosted on Heroku.
- You can deploy your own with your own heroku account and remote.
heroku login
heroku git:remote -a next-expo
git push heroku master