Browse Source

update README

pull/4/head
afc163 10 years ago
parent
commit
a9ac2ecdc8
  1. 21
      README.md
  2. 4
      package.json

21
README.md

@ -2,3 +2,24 @@
---
咩咩咩。
---
### 站点开发
在 dev 分支上进行开发。
#### 本地调试
```bash
$ npm start
```
然后访问 http://127.0.0.1:8000 。
#### 部署上线
```bash
$ npm run deploy
```

4
package.json

@ -11,11 +11,13 @@
"url": "https://github.com/ant-design/ant-design.github.io/issues"
},
"dependencies": {
"gh-pages-cli": "~0.2.0",
"nico": "*"
},
"scripts": {
"build": "npm run clean && nico build",
"start": "npm run clean && nico server",
"clean": "rm -rf _site"
"clean": "rm -rf _site",
"deploy": "npm run build && gh-pages -d _site -b master"
}
}

Loading…
Cancel
Save