Master dependencies:
in a local folder dedicated to the project
git clone ...yarn
For a local development server, reads .env.development variables:
yarn serve
For a staging server (preproduction), reads .env.staging variables:
yarn build:staging
For a production server, reads .env.production variables:
yarn build:prod
After a yarn build:prod or yarn build:staging you can run a server to serve the produced dist folder with:
yarn preview
for production or
yarn preview --mode=staging
for staging.
yarn lint