Skip to content

jrwats/fbt-npm-app

Repository files navigation

Standalone Babel/Webpack/React Demo using NPM modules

Relevant package dependences:

fbt (runtime)
babel-plugin-fbt
babel-plugin-fbt-runtime

  • yarn install to pull in dependencies down
  • yarn manifest to generate enum and source manifests
  • yarn collect-fbts to collect FBT translatable texts
  • yarn translate-split to generate split translation dictionaries (in src/dict) from translation_input.json
  • yarn build to generate static files in ./output/.
    • The commands above are required to run this step
  • yarn start to run a local server with hot reloading.
  • yarn test to run unit tests.

About

Example use of our npm modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published