Commit c56de56f848304defec353d96be3942a8962466d

Authored by 商艳涛
1 parent df5d6b35

增加npm script脚本

Showing 1 changed file with 3 additions and 1 deletions
package.json
@@ -4,7 +4,9 @@ @@ -4,7 +4,9 @@
4 "description": "websit layout library", 4 "description": "websit layout library",
5 "main": "index.js", 5 "main": "index.js",
6 "scripts": { 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 "repository": { 11 "repository": {
10 "type": "git", 12 "type": "git",