unleash-frontend

v3.2.4
unleash your features
unleash feature toggle feature toggle

build

rm -rf dist && mkdir -p dist/public && 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=http://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

Metadata

Downloads