There are several scripts for end-user and developer.
clean *.js
in examples/build
and test/build
folders
npm run clean
create .we
file(run npm run create -- -h
for help)
npm run create -- [name] -o [directory]
transform *.we
in examples
and test
folders
npm run transform
npm run clean && npm run transform
npm run dev
run a file server at 12580
port
npm run serve
run a watcher for *.we
changed
npm run watch
build js-framework and h5-render
npm run build
run test under js-framework and h5-render
npm run ci
copy the built files to playground
npm run copy