Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

中文_3. BuildProject

林法鑫 edited this page Jul 19, 2016 · 1 revision

右键 package.json 文件, 选择 Show npm Scripts:

看到脚本列表 :

脚本描述:

  1. build : 构建整个工程. 构建后预览 index.html 或者 index_debug.html 都使用到最新的代码和资源.
  2. build-res : 运行这个脚本后,你可以在代码中引用到最新的res目录的情况。(layout/id/style等)
  3. build-ts2es6 : 如果你只改动了JS代码,可以只运行这个脚本,预览 index_debug.html 会使用最新的代码
  4. updateSDK : 更新 AndroidUIX 框架版本.

双击条目以运行脚本