[#7976] add & use npm run cmds for build & watch; add license header
6 files changed