UNPKG

rehype-code-titles

Version:

Rehype plugin for parsing code blocks and adding titles to code blocks

103 lines (102 loc) โ€ข 2.67 kB
{ "name": "rehype-code-titles", "version": "1.2.0", "description": "Rehype plugin for parsing code blocks and adding titles to code blocks", "author": { "email": "me@codybrunner.com", "name": "Cody Brunner", "url": "https://codybrunner.com" }, "repository": { "type": "git", "url": "https://github.com/rockchalkwushock/rehype-code-titles.git" }, "bugs": { "url": "https://github.com/rockchalkwushock/rehype-code-titles/issues" }, "homepage": "https://github.com/rockchalkwushock/rehype-code-titles#readme", "license": "MIT", "files": [ "index.d.ts", "index.js" ], "keywords": [ "code-titles", "html", "mdx", "rehype", "rehype-plugin", "remark", "unified" ], "engines": { "node": ">=16" }, "exports": "./index.js", "type": "module", "typings": "./index.d.ts", "scripts": { "build": "tsc", "format": "prettier --write", "lint": "eslint", "release": "standard-version", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --maxWorkers=50%", "test:ci": "node --experimental-vm-modules node_modules/jest/bin/jest.js --ci --passWithNoTests --runInBand", "test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage", "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --maxWorkers=25% --onlyChanged --watch", "type-check": "tsc --noEmit", "preinstall": "npx only-allow pnpm" }, "dependencies": { "hast": "~1.0.0", "unist-util-visit": "~4.1.2" }, "devDependencies": { "@arkweid/lefthook": "~0.7.7", "@babel/core": "~7.18.0", "@babel/plugin-transform-modules-commonjs": "~7.18.0", "@rockchalkwushock/eslint-config": "~1.0.7", "@types/dedent": "~0.7.0", "@types/hast": "~2.3.4", "@types/jest": "~27.5.1", "@types/node": "~17.0.35", "@types/unist": "~2.0.6", "dedent": "~0.7.0", "eslint": "~8.16.0", "jest": "~28.1.0", "prettier": "~2.6.2", "rehype": "~12.0.1", "standard-version": "~9.5.0", "typescript": "~4.7.2" }, "eslintConfig": { "extends": "@rockchalkwushock/eslint-config", "ignorePatterns": [ "package.json", "tsconfig.json" ] }, "prettier": { "arrowParens": "avoid", "semi": false, "singleQuote": true, "tabWidth": 2, "trailingComma": "es5" }, "standard-version": { "types": [ { "section": "Bugs ๐Ÿ›", "type": "fix" }, { "section": "Features ๐ŸŽ‰", "type": "feat" }, { "section": "Tests ๐Ÿงช", "type": "test" } ] } }