1.0.0 • Published 3 years ago
vanya-test3 v1.0.0
Acorn
Useful Scripts
Run lint
yarn lint --fix
Update Snapshots
cd frontend/acorn
yarn test:updateSnapshot
Run unit tests
yarn test
Generate API from schema.graphql
yarn fe:gen
it will generate API under frontend/graphql-api/src/gen
Configure the client
yarn fe:configure
it will create frontend/acorn/config-local.json
Build webapp in production mode
yarn build
Run e2e ui tests locally
Run against local application
# make sure acorn is up and running locally
yarn fe:ci
Run "headless"
# make sure acorn is not running locally
cd frontend/acorn
yarn e2e
Start webapp in production mode locally
yarn start
1.0.0
3 years ago