Build-weex 打包指令

申明一下這個(gè)內(nèi)容是在weex項(xiàng)目中的,地址在這里

Scripts

There are several scripts for end-user and developer.

For end users you can only know npm run build and npm run serve to start and npm run dev:examples to write or modify a demo.

  • npm run build:browser: build HTML5 renderer to dist/browser.js.
  • npm run build:native: build JS framework for native renderer to dist/native.js.
  • npm run build:examples: build all js bundles from examples/ to examples/build/.
  • npm run build:test: build all js bundles from test/ to test/build/.
  • npm run build: build all above.
  • npm run dev:browser, npm run dev:native, npm run dev:examples, npm run dev:test are the watcher mode for all build scripts, any file changes will automatically be built.
  • npm run serve: run a http server so you can access all examples in browser through http://localhost:12580/. note: you must run npm run build first to prepare all the built files.
  • npm run clean:examples: clean examples/build/.
  • npm run clean:test: clean test/build/.
  • npm run clean: clean both examples/build/ and test/build/.
  • npm run copy: copy JS framework and examples into Android project.
  • npm run lint, npm run test, npm run cover and npm run ci are something quality assurance.
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容