unleash-frontend
v3.9.0 unleash feature toggle feature toggle
build
npm run build:assets && npm run build:html && npm run build:img && npm run build:ico
build:assets
NODE_ENV=production webpack -p --display-optimization-bailout
build:html
cp public/*.html dist/.
build:ico
cp public/*.ico dist/.
build:img
cp public/*.png dist/public/.
start
NODE_ENV=development webpack-dev-server --progress --colors
start:heroku
UNLEASH_API=https://unleash.herokuapp.com npm run start
lint
eslint . --ext js,jsx
lint:fix
eslint . --ext js,jsx --fix
test
jest
test:ci
npm run lint && npm run build && npm run test
prepublish
npm run build