| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- {
- "name": "rehype-prism-plus",
- "version": "0.0.5",
- "description": "rehype plugin to highlight code blocks in HTML with Prism (via refractor) with line highlighting and line numbers",
- "source": "index.js",
- "files": [
- "dist"
- ],
- "main": "./dist/rehype-prism-plus.umd.js",
- "module": "./dist/rehype-prism-plus.es.js",
- "types": "./dist/index.d.ts",
- "type": "module",
- "exports": {
- ".": {
- "import": "./dist/rehype-prism-plus.es.js",
- "require": "./dist/rehype-prism-plus.umd.js"
- }
- },
- "scripts": {
- "build": "tsc -b && vite build --config vite.config.cjs",
- "tsc": "tsc --watch --noEmit",
- "lint": "eslint .",
- "prettier": "prettier --write '*.js'",
- "test": "uvu"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/timlrx/rehype-prism-plus.git"
- },
- "keywords": [
- "rehype",
- "rehype-plugin",
- "syntax-highlighting",
- "prism",
- "mdx",
- "jsx"
- ],
- "author": "Timothy Lin <timothy0336@hotmail.com> (https://timlrx.com)",
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/timlrx/rehype-prism-plus/issues"
- },
- "homepage": "https://github.com/timlrx/rehype-prism-plus#readme",
- "dependencies": {
- "hast-util-to-html": "^8.0.1",
- "hast-util-to-string": "^2.0.0",
- "parse-numeric-range": "^1.3.0",
- "refractor": "^4.1.1",
- "rehype-parse": "^8.0.2",
- "unified": "^10.1.0",
- "unist-util-filter": "^4.0.0",
- "unist-util-visit": "^4.0.0"
- },
- "devDependencies": {
- "dedent": "^0.7.0",
- "eslint": "^7.32.0",
- "eslint-config-prettier": "^8.3.0",
- "eslint-plugin-node": "^11.1.0",
- "husky": "^4.0.0",
- "lint-staged": "^11.1.2",
- "prettier": "^2.3.2",
- "rehype": "^12.0.0",
- "typescript": "^4.3.5",
- "uvu": "^0.5.1",
- "vite": "^2.5.0"
- },
- "prettier": {
- "printWidth": 100,
- "tabWidth": 2,
- "useTabs": false,
- "singleQuote": true,
- "bracketSpacing": true,
- "semi": false,
- "trailingComma": "es5"
- },
- "lint-staged": {
- "*.+(js|jsx|ts|tsx)": [
- "eslint --fix"
- ],
- "*.+(js|jsx|ts|tsx|json|css|md|mdx)": [
- "prettier --write"
- ]
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- }
- }
|