npm install static-build -g
Usage: static-build [options]
Options:
--dev watch the changes and start a server for developing
-s, --src the source file directory [required]
-d, --dist the distination directory to be built into
Examples:
static-build -s . -d ../dist bundle current directory to ../dist directory
static-build -s . bundel current files in current directory to
default ./dist directory
# build for publish
make build
# run tests
make test