9 Star 22 Fork 11

Apache/Weex

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
SCRIPTS.md 1.17 KB
一键复制 编辑 原始数据 按行查看 历史

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:native: build JS framework for native renderer to packages/weex-js-framework/index.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: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.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/apache/weex.git
git@gitee.com:apache/weex.git
apache
weex
Weex
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891