for urfonline.com
A TypeScript React application with Emotion-based styling.
This will you get the frontend application running on your machine for development.
You'll need Node.js, and the package manager Yarn.
It's recommend to use nvm. This will allow you to use multiple versions of Node.js on your machine.
$ git clone [email protected]:urfonline/frontend.git
$ cd frontend
$ yarn prep
$ yarn serve
This will start the dev server on port 8080: http://localhost:8080.
This runs any required scripts before a build can take place.
Currently it:
- runs scripts/getFragmentTypes.js; getting graphql schema data from the production server
Starts a development server on port 8080: http://localhost:8080.
Runs Prettier to deterministically format all source files.
Runs all tests via Jest.
The entire production build.
- Gets fragmentTypes
- Builds
- Generates light static render files