rehype-raw
Version:
rehype plugin to reparse the tree (and raw nodes)
75 lines (74 loc) • 1.83 kB
JSON
{
"name": "rehype-raw",
"version": "4.0.1",
"description": "rehype plugin to reparse the tree (and raw nodes)",
"license": "MIT",
"keywords": [
"unified",
"rehype",
"plugin",
"raw",
"html"
],
"repository": "rehypejs/rehype-raw",
"bugs": "https://github.com/rehypejs/rehype-raw/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"files": [
"index.js"
],
"dependencies": {
"hast-util-raw": "^5.0.0"
},
"devDependencies": {
"browserify": "^16.0.0",
"nyc": "^14.0.0",
"prettier": "^1.0.0",
"rehype-stringify": "^5.0.0",
"remark-cli": "^6.0.0",
"remark-parse": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"remark-rehype": "^4.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"unified": "^7.0.0",
"xo": "^0.24.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify . -s rehypeRaw > rehype-raw.js",
"build-mangle": "browserify . -s rehypeRaw -p tinyify > rehype-raw.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test.js",
"test": "npm run format && npm run build && npm run test-coverage"
},
"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-raw.js"
]
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
}
}