UNPKG

gitbook-plugin-scouchi-alerts

Version:

GitBook plugin to convert blockquotes into beautiful and configurable alerts using preconfigured or own styles and alert types.

95 lines (94 loc) 2.32 kB
{ "name": "gitbook-plugin-scouchi-alerts", "version": "0.0.17", "description": "GitBook plugin to convert blockquotes into beautiful and configurable alerts using preconfigured or own styles and alert types.", "keywords": [ "gitbook", "plugin", "alert", "blockquotes", "quote", "hint", "callout" ], "author": "scouchi", "license": "MIT", "engines": { "gitbook": ">=2.0.0" }, "main": "index.js", "scripts": { "build": "rollup -c", "clean": "rimraf dist/*", "prepare": "npm run clean && npm run build", "start": "npm run build -- -w" }, "homepage": "", "repository": { "type": "git", "url": "" }, "bugs": { "url": "" }, "devDependencies": { "@babel/core": "^7.3.3", "@babel/preset-env": "^7.3.1", "eslint": "^5.14.1", "lodash.merge": "^4.6.1", "rimraf": "^2.6.3", "rollup": "^1.2.3", "rollup-copy-plugin": "^0.1.0", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-copy-assets": "^1.1.0", "rollup-plugin-eslint": "^5.0.0", "rollup-plugin-node-resolve": "^4.0.1", "rollup-plugin-uglify": "^6.0.2", "rollup-plugin-url": "^2.2.0" }, "gitbook": { "properties": { "style": { "type": "string", "title": "Style used for alerts.", "default": "callout" }, "note": { "type": "object", "title": "Configuration for alerts of type 'note'", "default": { "label": "Note", "icon": "fa fa-info-circle", "className": "info" } }, "tip": { "type": "object", "title": "Configuration for alerts of type 'tip'", "default": { "label": "Tip", "icon": "fa fa-lightbulb-o", "className": "tip" } }, "warning": { "type": "object", "title": "Configuration for alerts of type 'warning'", "default": { "label": "Warning", "icon": "fa fa-exclamation-triangle", "className": "warning" } }, "danger": { "type": "object", "title": "Configuration for alerts of type 'danger'", "default": { "label": "Attention", "icon": "fa fa-ban", "className": "danger" } } } } }