unleash-frontend
v4.6.5 unleash feature toggle feature toggle
build
INLINE_RUNTIME_CHUNK=false react-scripts build
lint
eslint src
start
react-scripts start
start:heroku
UNLEASH_API=https://unleash.herokuapp.com yarn run start
start:ea
UNLEASH_API=https://unleash4.herokuapp.com yarn run start
start:demo
UNLEASH_API=http://unleash.herokuapp.com yarn run start
test
react-scripts test
prepare
yarn run build
e2e
yarn run cypress open --config baseUrl='http://localhost:3000' --env PASSWORD_AUTH=true,AUTH_TOKEN=$AUTH_TOKEN
e2e:heroku
yarn run cypress open --config baseUrl='http://localhost:3000' --env PASSWORD_AUTH=false,AUTH_TOKEN=$AUTH_TOKEN
e2e:enterprise
yarn run cypress open --config baseUrl='http://localhost:3000' --env PASSWORD_AUTH=true,ENTERPRISE=true,AUTH_TOKEN=$AUTH_TOKEN