publish 2.0.4

This commit is contained in:
TomHuangCN 2018-07-12 21:41:28 +08:00
parent e1c7561640
commit 197807b84f
2 changed files with 403 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env node
const fs = require('fs');
const path = require('path');
const shelljs = require('shelljs');
const cPath = path.join(process.cwd(), './package.json');
const version = require('../src/version');
const pk = JSON.parse(fs.readFileSync(cPath, 'utf8'));
@ -10,4 +11,7 @@ fs.writeFile(cPath, JSON.stringify(pk, null, ' '), function(err) {
if (err) {
return console.error(err);
}
if (version.indexOf('beta') === -1) {
shelljs.exec('git release ' + version);
}
});

View File

@ -0,0 +1,399 @@
{
"nodes": [{
"id": "1965",
"userview": 606,
"pageview": 1723,
"stayTime": 40
}, {
"id": "1966",
"userview": 627,
"pageview": 907,
"stayTime": 11
}, {
"id": "1967",
"userview": 56,
"pageview": 107,
"stayTime": 10
}, {
"id": "1968",
"userview": 31,
"pageview": 40,
"stayTime": 10
}, {
"id": "2003",
"userview": 31,
"pageview": 46,
"stayTime": 28
}, {
"id": "2060",
"userview": 5,
"pageview": 8,
"stayTime": 7
}, {
"id": "2303",
"userview": 117,
"pageview": 299,
"stayTime": 3
}, {
"id": "2304",
"userview": 35,
"pageview": 96,
"stayTime": 2
}, {
"id": "2316",
"userview": 1258,
"pageview": 2011,
"stayTime": 5
}, {
"id": "3041",
"userview": 759,
"pageview": 3337,
"stayTime": 5
}, {
"id": "3042",
"userview": 64,
"pageview": 246,
"stayTime": 7
}, {
"id": "3077",
"userview": 404,
"pageview": 1422,
"stayTime": 4
}, {
"id": "3078",
"userview": 8,
"pageview": 10,
"stayTime": 2
}, {
"id": "3081",
"userview": 134,
"pageview": 506,
"stayTime": 8
}, {
"id": "3083",
"userview": 24,
"pageview": 70,
"stayTime": 12
}, {
"id": "3084",
"userview": 5,
"pageview": 7,
"stayTime": 31
}, {
"id": "3328",
"userview": 31,
"pageview": 44,
"stayTime": 11
}, {
"id": "3413",
"userview": 130,
"pageview": 215,
"stayTime": 4
}, {
"id": "3589",
"userview": 35,
"pageview": 52,
"stayTime": 35
}, {
"id": "_activity_fd_75660",
"userview": 190,
"pageview": 279,
"stayTime": 30
}],
"edges": [{
"source": "1965",
"target": "3081",
"userview": 48,
"pageview": 52
}, {
"source": "1965",
"target": "3077",
"userview": 334,
"pageview": 491
}, {
"source": "1965",
"target": "2003",
"userview": 12,
"pageview": 13
}, {
"source": "1965",
"target": "3589",
"userview": 31,
"pageview": 31
}, {
"source": "1965",
"target": "3328",
"userview": 22,
"pageview": 30
}, {
"source": "1965",
"target": "2303",
"userview": 2,
"pageview": 2
}, {
"source": "1965",
"target": "2060",
"userview": 5,
"pageview": 6
}, {
"source": "1965",
"target": "1967",
"userview": 42,
"pageview": 50
}, {
"source": "1965",
"target": "3041",
"userview": 368,
"pageview": 639
}, {
"source": "1966",
"target": "3042",
"userview": 1,
"pageview": 1
}, {
"source": "1966",
"target": "3041",
"userview": 6,
"pageview": 7
}, {
"source": "1966",
"target": "2304",
"userview": 15,
"pageview": 29
}, {
"source": "1966",
"target": "2316",
"userview": 620,
"pageview": 650
}, {
"source": "1967",
"target": "1965",
"userview": 56,
"pageview": 70
}, {
"source": "1967",
"target": "2003",
"userview": 22,
"pageview": 29
}, {
"source": "1968",
"target": "2303",
"userview": 31,
"pageview": 40
}, {
"source": "2003",
"target": "1967",
"userview": 31,
"pageview": 45
}, {
"source": "2060",
"target": "1965",
"userview": 5,
"pageview": 6
}, {
"source": "2303",
"target": "3041",
"userview": 116,
"pageview": 169
}, {
"source": "2303",
"target": "3077",
"userview": 1,
"pageview": 1
}, {
"source": "2303",
"target": "1968",
"userview": 31,
"pageview": 39
}, {
"source": "2303",
"target": "2304",
"userview": 33,
"pageview": 45
}, {
"source": "2303",
"target": "3328",
"userview": 4,
"pageview": 4
}, {
"source": "2304",
"target": "1966",
"userview": 15,
"pageview": 26
}, {
"source": "2304",
"target": "2303",
"userview": 35,
"pageview": 46
}, {
"source": "2316",
"target": "3042",
"userview": 1,
"pageview": 1
}, {
"source": "2316",
"target": "1966",
"userview": 514,
"pageview": 536
}, {
"source": "3041",
"target": "3328",
"userview": 5,
"pageview": 5
}, {
"source": "3041",
"target": "1966",
"userview": 6,
"pageview": 7
}, {
"source": "3041",
"target": "3413",
"userview": 122,
"pageview": 146
}, {
"source": "3041",
"target": "2316",
"userview": 3,
"pageview": 3
}, {
"source": "3041",
"target": "3081",
"userview": 86,
"pageview": 213
}, {
"source": "3041",
"target": "3077",
"userview": 347,
"pageview": 749
}, {
"source": "3041",
"target": "1965",
"userview": 335,
"pageview": 556
}, {
"source": "3041",
"target": "3042",
"userview": 58,
"pageview": 71
}, {
"source": "3041",
"target": "2303",
"userview": 112,
"pageview": 165
}, {
"source": "3042",
"target": "3077",
"userview": 32,
"pageview": 75
}, {
"source": "3042",
"target": "3328",
"userview": 2,
"pageview": 2
}, {
"source": "3042",
"target": "1966",
"userview": 1,
"pageview": 1
}, {
"source": "3042",
"target": "3084",
"userview": 1,
"pageview": 1
}, {
"source": "3042",
"target": "3083",
"userview": 24,
"pageview": 69
}, {
"source": "3042",
"target": "2316",
"userview": 2,
"pageview": 2
}, {
"source": "3042",
"target": "3041",
"userview": 61,
"pageview": 75
}, {
"source": "3042",
"target": "3078",
"userview": 8,
"pageview": 10
}, {
"source": "3077",
"target": "1965",
"userview": 309,
"pageview": 450
}, {
"source": "3077",
"target": "3042",
"userview": 32,
"pageview": 79
}, {
"source": "3077",
"target": "3084",
"userview": 4,
"pageview": 6
}, {
"source": "3077",
"target": "3041",
"userview": 387,
"pageview": 817
}, {
"source": "3078",
"target": "3042",
"userview": 8,
"pageview": 10
}, {
"source": "3081",
"target": "1965",
"userview": 61,
"pageview": 75
}, {
"source": "3081",
"target": "3041",
"userview": 90,
"pageview": 254
}, {
"source": "3083",
"target": "3042",
"userview": 24,
"pageview": 69
}, {
"source": "3084",
"target": "3077",
"userview": 5,
"pageview": 7
}, {
"source": "3328",
"target": "3041",
"userview": 5,
"pageview": 5
}, {
"source": "3328",
"target": "1965",
"userview": 22,
"pageview": 30
}, {
"source": "3328",
"target": "3042",
"userview": 2,
"pageview": 2
}, {
"source": "3328",
"target": "2303",
"userview": 4,
"pageview": 4
}, {
"source": "3413",
"target": "3041",
"userview": 126,
"pageview": 151
}, {
"source": "3589",
"target": "1965",
"userview": 6,
"pageview": 6
}]
}