npm.io
1.0.0 • Published 5 years ago

vanya-test3

Licence
MIT
Version
1.0.0
Deps
25
Size
5.2 MB
Vulns
0
Weekly
0

Acorn

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