Skip to content

Commit

Permalink
fix: npm scripts and superframe
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexb committed Nov 14, 2017
1 parent 352ccc2 commit 0655347
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 贡献代码

Superframe 以开放的心态接纳外部贡献,请按以下方法做出你的贡献。
Ralltiir 以开放的心态接纳外部贡献,请按以下方法做出你的贡献。

## 准备

Expand All @@ -15,7 +15,7 @@ Superframe 以开放的心态接纳外部贡献,请按以下方法做出你的

## 改动

* **Fork** superframe 仓库到你的个人命名空间中
* **Fork** Ralltiir 仓库到你的个人命名空间中
* 使用 `git clone` 将你的个人仓库拷贝克隆到本地
* 使用 `git checkout -b` 创建一个新的分支以进行你的工作
* 通常而言,它是基于 master 分支的
Expand Down Expand Up @@ -46,13 +46,13 @@ Superframe 以开放的心态接纳外部贡献,请按以下方法做出你的
使用 npm 脚本进行文档预览:

```bash
npm run doc-start
npm run doc:preview
```

文档发布也使用 npm 脚本(文档托管于 Github Pages,10 分钟内生效):

```bash
npm run doc-deploy
npm run doc:deploy
```

## 软件发布
Expand All @@ -75,4 +75,4 @@ npm version major
git log v2.5.11..v2.5.12
```

[tags]: https://github.com/searchfe/superframe/tags
[tags]: https://github.com/Ralltiir/ralltiir/releases
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ build-dev: build-prepare

build/banner.js: build-prepare
echo '/*' > $@
echo ' * Superframe' >> $@
echo ' * Ralltiir' >> $@
echo ' * Version: '$(NAME)-$(VERSION) >> $@
echo ' * Homepage: http://superframe.baidu.com' >> $@
echo ' * Homepage: https://ralltiir.github.io/ralltiir/' >> $@
echo ' * Build Date: '`date --iso-8601=seconds` >> $@
echo ' * Last Commit: '`git log -1 --oneline | sed "s/\*//g"` >> $@
echo ' */' >> $@
Expand All @@ -35,7 +35,7 @@ build-prod: build-prepare
fis3 release prod -d ./build
[ -d ./dist ] || mkdir ./dist

dist-prepare:
dist-prepare:
[ -d ./dist ] || mkdir ./dist

dist: build-prod dist-prepare build/banner.js
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* 开发版本:<https://unpkg.com/ralltiir@2.5.15/dist/ralltiir.js>
* 压缩版本:<https://unpkg.com/ralltiir@2.5.15/dist/ralltiir.min.js>

Ralltiir 前端极速浏览框架,是一种前端异步单页技术。
Ralltiir 前端极速浏览框架,是一种前端异步单页技术。
点击超链接或浏览器跳转时,异步地获取数据并将内容展现给用户。
以此来减少用户等待时间,以及提高页面渲染速度。Ralltiir 主要特性如下:

Expand Down Expand Up @@ -55,19 +55,19 @@ npm publish
首先安装 gitbook 依赖:

```bash
npm run doc-install
npm run doc:install
```

本地预览文档:

```bash
npm run doc-preview
npm run doc:preview
```

部署到 <ralltiir.github.io/ralltiir>:

```bash
npm run doc-deploy
npm run doc:deploy
```

## Roadmap
Expand Down

0 comments on commit 0655347

Please sign in to comment.