+13
-4
| { | ||
| "name": "ncg", | ||
| "version": "0.1.3", | ||
| "version": "0.1.4", | ||
| "private": false, | ||
| "scripts": { | ||
| "start": "./node_modules/.bin/supervisor ./build/bin/www", | ||
| "start": "supervisor ./build/bin/www", | ||
| "pub": "npm publish .", | ||
| "clean":"rm -rf build/* && echo ''>build/.gitkeeper" | ||
| "clean": "rm -rf build/* && echo ''>build/.gitkeeper" | ||
| }, | ||
@@ -16,4 +16,6 @@ "preferGlobal": "true", | ||
| "body-parser": "~1.8.1", | ||
| "commander": "^2.6.0", | ||
| "cookie-parser": "~1.3.3", | ||
| "debug": "~2.0.0", | ||
| "empty-dir": "^0.1.0", | ||
| "express": "~4.9.0", | ||
@@ -38,3 +40,10 @@ "gutil": "^1.5.5", | ||
| "request": "latest" | ||
| } | ||
| }, | ||
| "readme": "# ncg\n\n`nodejs` + `coffeescript` + `gulp`\n\n[](http://badge.fury.io/js/ncg)\n\n## Step\n\n\tnpm init\n\texpress .\n\n## 目录说明\n\n- src/\n- build/\n\nstart \n\n\tsupervisor build/bin/www\n\t\n\t\n当开发的时候,只需要\n\n\tgulp\n\t\n然后就交给gulp的watch来做\n\n比如\n\n- 变动coffee就自动编译,加coffeelint\n- 变动了资源文件就copy\n- 由于server启动用的是supervisor,它会自动检查变动,重载的\n- 增加browser-sync自动livereload浏览器内容\n\n\n## detect\n\n\n- **/*.coffee\n- bin\n- public\n- views\n- package.json(auto npm install)\n\n## Feature\n\n- 增加ncg命令,创建项目模板\n\n## History\n\n- v0.1.2 修正watch之前没有copy的问题\n", | ||
| "readmeFilename": "README.md", | ||
| "gitHead": "1070981167958d80b59eed4c9670b40e11b14f75", | ||
| "description": "`nodejs` + `coffeescript` + `gulp`", | ||
| "_id": "ncg@0.1.2", | ||
| "_shasum": "5fb822322e5a93f9c0137f4b172696e6b5432a11", | ||
| "_from": "ncg@" | ||
| } |
+3
-0
@@ -45,3 +45,6 @@ # ncg | ||
| ## Install | ||
| [sudo] npm install -g ncg | ||
| ## Usage | ||
@@ -48,0 +51,0 @@ |
Sorry, the diff of this file is not supported yet
14155
15.07%120
2.56%11
22.22%+ Added
+ Added
+ Added
+ Added