Frame is a micro website which can be embedded to other website. It provides flights search, booking and minimal management functionality.
Runs the app in development mode. Open http://localhost:3000 to view frame in the browser.
Runs storybook to view and test components. Open http://localhost:9000 to view storybook in the browser.
Runs the test watcher in an interactive mode.
Builds the app for production to the build
folder.
Generates files for each if defined locales with words and phrases for translation.
To generate files for localization you need to run yarn translate
command.
That will process each JS/JSX file using babel plugin and generate pair of files with keys for translation into src/intl/locales
.
Each locale consist of two files e.g. en.json and whitelist_en.json
- en.json - the list of keys for translation
- whitelist_en.json - the place where you can specify translation keys where translation is identical to the default message.