Skip to content

Commit

Permalink
change package.json, add keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
leeluolee committed Oct 28, 2014
1 parent 72f3734 commit 9877fbf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

> __Puer - more than a live-reload server , built for efficient frontend development__
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/leeluolee/puer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[中文指南](http://leeluolee.github.io/2014/10/24/use-puer-helpus-developer-frontend/)


##Features
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/leeluolee/puer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)


1. __create static server__ at target dir (default in current dir)
Expand Down
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
"name": "puer",
"description": "a tool to build static autoreload(livereload) server",
"description": "more than a live-reload server , built for efficient frontend development",
"author": "leeluolee",
"version": "1.0.7",
"version": "1.0.8",
"repository": {
"type": "git",
"url": "https://github.com/leeluolee/puer"
},
"keywords": [
"live-reload",
"server",
"proxy",
"frontend",
"tool"
],
"main": "./lib/index.js",
"bin": {
"puer": "./bin/puer"
Expand Down
3 changes: 2 additions & 1 deletion src/cli.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports.run = (args) =>
parser.on "-i --inspect", "start weinre server and debug all puer page", (dir) ->
option.inspect = true
parser.on "-x --exclude", "exclude file under watching(must be a regexp), default: ''", (dir) ->
ignored = reg.replace /^\/|\/$/g, ""
ignored = dir.replace /^\/|\/$/g, ""
option.ignored = new RegExp ignored
parser.on "-a --addon <file>", "your addon's path", (file) ->
option.addon = sysPath.resolve pwd, file
Expand All @@ -35,6 +35,7 @@ exports.run = (args) =>
"""
console.log man
parser.run args
console.log(option)
puer(option) if not option.help


Expand Down

0 comments on commit 9877fbf

Please sign in to comment.