summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-hints/package.json
blob: 6b33fe56d13b24246bd3cd8650389b3d7247d0d0 (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
{
  "name": "gitbook-plugin-hints",
  "description": "Defines four types of styled hint blocks: info, danger, tip, working.",
  "main": "index.js",
  "browser": "./_assets/plugin.js",
  "version": "4.0.0-alpha.4",
  "dependencies": {
    "classnames": "^2.2.5"
  },
  "devDependencies": {
    "gitbook-plugin": "^4.0.0-alpha.4"
  },
  "engines": {
    "gitbook": ">=4.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"
  },
  "gitbook": {
    "blocks": {
       "hint": {
           "title": "Hint",
           "description": "Display an alert message.",
           "properties": {
             "style": {
               "title": "Style",
               "type": "string",
               "enum": ["info", "danger", "tip", "working"],
               "default": "info"
             },
             "children": {
               "type": "node"
             }
           }
       }
    }
  }
}