summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-sharing/package.json
blob: be63c170fa66c3455f33206d9f16ad3e1a21a57a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
  "name": "gitbook-plugin-sharing",
  "description": "Sharing buttons in the toolbar",
  "main": "index.js",
  "browser": "./_assets/plugin.js",
  "version": "4.0.0-alpha.2",
  "gitbook": {
    "properties": {
      "facebook": {
        "type": "boolean",
        "default": true,
        "title": "Facebook"
      },
      "twitter": {
        "type": "boolean",
        "default": true,
        "title": "Twitter"
      },
      "google": {
        "type": "boolean",
        "default": false,
        "title": "Google"
      },
      "weibo": {
        "type": "boolean",
        "default": false,
        "description": "Weibo"
      },
      "instapaper": {
        "type": "boolean",
        "default": false,
        "description": "Instapaper"
      },
      "vk": {
        "type": "boolean",
        "default": false,
        "description": "VK"
      },
      "all": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "default": [
          "facebook",
          "google",
          "twitter",
          "weibo",
          "instapaper"
        ],
        "uniqueItems": true
      }
    }
  },
  "dependencies": {
    "gitbook-core": "^4.0.0-alpha.2"
  },
  "devDependencies": {
    "gitbook-plugin": "^4.0.0-alpha.2"
  },
  "engines": {
    "gitbook": ">=3.0.0"
  },
  "scripts": {
    "build-js": "gitbook-plugin build ./src/index.js ./_assets/plugin.js",
    "prepublish": "npm run build-js"
  },
  "homepage": "https://github.com/GitbookIO/gitbook",
  "repository": {
    "type": "git",
    "url": "https://github.com/GitbookIO/gitbook.git"
  },
  "bugs": {
    "url": "https://github.com/GitbookIO/gitbook/issues"
  },
  "license": "Apache-2.0"
}