+1
-1
| { | ||
| "name": "ncg", | ||
| "version": "0.1.2", | ||
| "version": "0.1.3", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "scripts": { |
+71
-6
@@ -7,6 +7,6 @@ # ncg | ||
| ## Step | ||
| ## Features | ||
| npm init | ||
| express . | ||
| - 使用express generator的代码结构 | ||
| - 使用ncg命令,创建项目模板 | ||
@@ -46,8 +46,73 @@ ## 目录说明 | ||
| ## Feature | ||
| - 增加ncg命令,创建项目模板 | ||
| ## Usage | ||
| ## History | ||
| ``` | ||
| ➜ ncgtest ncg | ||
| ➜ ncgtest ls | ||
| Gulpfile.js LICENSE README.md bin node_modules package.json src | ||
| ➜ ncgtest npm install | ||
| ...此处有省略... | ||
| ➜ ncgtest gulp | ||
| [14:13:34] Using gulpfile ~/www/ncgtest/Gulpfile.js | ||
| [14:13:34] Starting 'watch_coffee'... | ||
| [14:13:34] Finished 'watch_coffee' after 6.5 ms | ||
| [14:13:34] Starting 'watch_bin'... | ||
| [14:13:34] Finished 'watch_bin' after 5.09 ms | ||
| [14:13:34] Starting 'watch_public'... | ||
| [14:13:34] Finished 'watch_public' after 1.85 ms | ||
| [14:13:34] Starting 'watch_views'... | ||
| [14:13:34] Finished 'watch_views' after 1.35 ms | ||
| [14:13:34] Starting 'watch_package_json'... | ||
| [14:13:34] Finished 'watch_package_json' after 468 μs | ||
| [14:13:34] Starting 'watch'... | ||
| [14:13:34] Finished 'watch' after 4.1 μs | ||
| [14:13:34] Starting 'coffeelint'... | ||
| [14:13:34] Finished 'coffeelint' after 2.38 ms | ||
| [14:13:34] Starting 'coffee'... | ||
| [14:13:34] Finished 'coffee' after 2.93 ms | ||
| [14:13:34] Starting 'stop_server'... | ||
| [14:13:34] Finished 'stop_server' after 7.42 ms | ||
| [14:13:34] Starting 'start_server'... | ||
| [14:13:34] Finished 'start_server' after 111 μs | ||
| [14:13:34] Starting 'default'... | ||
| [14:13:34] Finished 'default' after 12 μs | ||
| kill: 67203: No such process | ||
| > ncg@0.1.2 start /Users/sang/www/ncgtest | ||
| > supervisor ./build/bin/www | ||
| Running node-supervisor with | ||
| program './build/bin/www' | ||
| --watch '.' | ||
| --extensions 'node,js,/build/bin/www' | ||
| --exec 'node' | ||
| Starting child process with 'node ./build/bin/www' | ||
| Watching directory '/Users/sang/www/ncgtest' for changes. | ||
| ``` | ||
| ## Contributing | ||
| 1. Fork it | ||
| 2. Create your feature branch (`git checkout -b my-new-feature`) | ||
| 3. Commit your changes (`git commit -am 'Add some feature'`) | ||
| 4. Push to the branch (`git push origin my-new-feature`) | ||
| 5. Create new Pull Request | ||
| ## 版本历史 | ||
| - v0.1.2 修正watch之前没有copy的问题 | ||
| ## 欢迎fork和反馈 | ||
| - write by `i5ting` shiren1118@126.com | ||
| 如有建议或意见,请在issue提问或邮件 | ||
| ## License | ||
| this repo is released under the [MIT | ||
| License](http://www.opensource.org/licenses/MIT). |
12301
19.38%117
125%