minggeJS icon indicating copy to clipboard operation
minggeJS copied to clipboard

使用 node-make 编译压缩发布文件

Open egoist opened this issue 9 years ago • 0 comments

明哥 JS 支持 bower/npm 是迟早的事,那么趁早构建一个发布流程吧!

特地为 minggeJS 打造了一个 Makefile 的 JS 版本,让明哥在 Windows 上也能使用类似 Makefile 的编译工具。

明哥只需要 npm install -g node-make 就行了。

然后举个例子,在根目录加个 makefile.js

build:
   >npm run build
   >npm run uglify
   >npm test 
   >npm publish

然后执行 mk build 就搞定了

感觉 minggeJS 会更火了🌝

egoist avatar Dec 16 '15 08:12 egoist