Commit c56de56f848304defec353d96be3942a8962466d
1 parent
df5d6b35
增加npm script脚本
Showing
1 changed file
with
3 additions
and
1 deletions
package.json
| ... | ... | @@ -4,7 +4,9 @@ |
| 4 | 4 | "description": "websit layout library", |
| 5 | 5 | "main": "index.js", |
| 6 | 6 | "scripts": { |
| 7 | - "test": "echo \"Error: no test specified\" && exit 1" | |
| 7 | + "test": "echo \"Error: no test specified\" && exit 1", | |
| 8 | + "dev": "NODE_ENV=development gulp", | |
| 9 | + "build": "NODE_ENV=production gulp deploy" | |
| 8 | 10 | }, |
| 9 | 11 | "repository": { |
| 10 | 12 | "type": "git", | ... | ... |