Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 793 Bytes

SCRIPTS.md

File metadata and controls

52 lines (40 loc) · 793 Bytes

Scripts

There are several scripts for end-user and developer.

For end-user

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

For SDK Developer

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