diff --git a/docs/manual/introduction.en.md b/docs/manual/introduction.en.md index 1d320990aa..2ac84c2d2e 100644 --- a/docs/manual/introduction.en.md +++ b/docs/manual/introduction.en.md @@ -8,6 +8,7 @@ redirect_from: [![](https://img.shields.io/travis/antvis/g6.svg)](https://travis-ci.org/antvis/g6) +[![Coverage Status](https://coveralls.io/repos/github/antvis/G6/badge.svg)](https://coveralls.io/github/antvis/G6) ![](https://img.shields.io/badge/language-javascript-red.svg) ![](https://img.shields.io/badge/license-MIT-000000.svg) [![npm package](https://img.shields.io/npm/v/@antv/g6.svg)](https://www.npmjs.com/package/@antv/g6) diff --git a/docs/manual/introduction.zh.md b/docs/manual/introduction.zh.md index cbbfc41771..ce63285bfe 100644 --- a/docs/manual/introduction.zh.md +++ b/docs/manual/introduction.zh.md @@ -8,6 +8,7 @@ redirect_from: g6 banner [![](https://img.shields.io/travis/antvis/g6.svg)](https://travis-ci.org/antvis/g6) +[![Coverage Status](https://coveralls.io/repos/github/antvis/G6/badge.svg)](https://coveralls.io/github/antvis/G6) ![](https://img.shields.io/badge/language-javascript-red.svg) ![](https://img.shields.io/badge/license-MIT-000000.svg) [![npm package](https://img.shields.io/npm/v/@antv/g6.svg)](https://www.npmjs.com/package/@antv/g6) diff --git a/package.json b/package.json index b53acfca1a..6b4981062b 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "site:build": "npm run site:clean && GATSBY=true gatsby build --prefix-paths", "site:clean": "gatsby clean", "site:develop": "GATSBY=true gatsby develop --open", + "site:deploy": "npm run site:build && gh-pages -d public", "start": "npm run site:develop", "test": "jest", "test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/plugins/minimap-spec.ts", @@ -71,8 +72,8 @@ "@antv/dom-util": "^2.0.1", "@antv/event-emitter": "~0.1.0", "@antv/g-base": "^0.3.5", - "@antv/g-math": "^0.1.1", "@antv/g-canvas": "^0.3.16", + "@antv/g-math": "^0.1.1", "@antv/hierarchy": "^0.6.1", "@antv/matrix-util": "^2.0.4", "@antv/path-util": "^2.0.3", @@ -80,6 +81,7 @@ "@antv/util": "~2.0.5", "d3-force": "^2.0.1", "dagre": "^0.8.5", + "gatsby": "^2.19.5", "lodash": "^4.17.15", "numericjs": "^1.2.6" }, @@ -99,7 +101,7 @@ "coveralls": "^3.0.9", "event-simulate": "~1.0.0", "father": "^2.29.1", - "gatsby": "^2.17.9", + "gatsby": "2.19.5", "gh-pages": "^2.1.1", "husky": "^3.0.4", "insert-css": "^2.0.0",