Browse Source

add deploy command

pull/4/head
afc163 10 years ago
parent
commit
8b32a331d9
  1. 1
      README.md
  2. 5
      package.json

1
README.md

@ -1,3 +1,4 @@
# Ant Design
---

5
package.json

@ -14,8 +14,9 @@
"nico": "*"
},
"scripts": {
"build": "nico build",
"build": "npm run clean && nico build",
"start": "nico server",
"clean": "rm -rf dist"
"clean": "rm -rf _site",
"deploy": "npm run build && git checkout gh-pages && git merge master && git push origin gh-pages && git checkout master"
}
}

Loading…
Cancel
Save