File: //usr/share/opensearch-dashboards/node_modules/rehype-slug/package.json
{
"name": "rehype-slug",
"version": "4.0.1",
"description": "rehype plugin to add `id` attributes to headings",
"license": "MIT",
"keywords": [
"unified",
"rehype",
"rehype-plugin",
"plugin",
"html",
"heading",
"slug",
"id"
],
"repository": "rehypejs/rehype-slug",
"bugs": "https://github.com/rehypejs/rehype-slug/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"files": [
"index.js",
"types/index.d.ts"
],
"types": "types/index.d.ts",
"dependencies": {
"github-slugger": "^1.1.1",
"hast-util-has-property": "^1.0.0",
"hast-util-heading-rank": "^1.0.0",
"hast-util-to-string": "^1.0.0",
"unist-util-visit": "^2.0.0"
},
"devDependencies": {
"browserify": "^17.0.0",
"dtslint": "^4.0.0",
"nyc": "^15.0.0",
"prettier": "^2.0.0",
"rehype": "^11.0.0",
"remark-cli": "^9.0.0",
"remark-preset-wooorm": "^8.0.0",
"tape": "^5.0.0",
"tinyify": "^3.0.0",
"unified": "^9.0.0",
"xo": "^0.34.0"
},
"scripts": {
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"build-bundle": "browserify index.js -s rehypeSlug -o rehype-slug.js",
"build-mangle": "browserify index.js -s rehypeSlug -o rehype-slug.min.js -p tinyify",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test.js",
"test-types": "dtslint types",
"test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"esnext": false,
"ignores": [
"rehype-slug.js"
]
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
}
}