| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- {
- "name": "rehype-prism-plus",
- "version": "1.6.1",
- "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.es.js",
- "module": "./dist/rehype-prism-plus.es.js",
- "types": "./dist/index.d.ts",
- "type": "module",
- "exports": {
- ".": "./dist/rehype-prism-plus.es.js",
- "./common": "./dist/common.es.js",
- "./all": "./dist/all.js",
- "./generator": "./dist/generator.es.js"
- },
- "typesVersions": {
- "*": {
- ".": [
- "./dist/index"
- ],
- "common": [
- "./dist/src/common"
- ],
- "all": [
- "./dist/src/all"
- ],
- "generator": [
- "./dist/src/generator"
- ]
- }
- },
- "scripts": {
- "build": "tsc -b && microbundle index.js src/common.js src/all.js src/generator.js --format esm",
- "tsc": "tsc --watch",
- "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-string": "^2.0.0",
- "parse-numeric-range": "^1.3.0",
- "refractor": "^4.8.0",
- "rehype-parse": "^8.0.2",
- "unist-util-filter": "^4.0.0",
- "unist-util-visit": "^4.0.0"
- },
- "devDependencies": {
- "dedent": "^0.7.0",
- "eslint": "^8.43.0",
- "eslint-config-prettier": "^8.3.0",
- "eslint-plugin-node": "^11.1.0",
- "husky": "^8.0.0",
- "lint-staged": "^11.1.2",
- "microbundle": "^0.15.1",
- "prettier": "^2.8.8",
- "rehype": "^12.0.0",
- "remark": "^14.0.2",
- "remark-rehype": "^10.1.0",
- "typescript": "5.1.3",
- "unified": "^10.1.0",
- "uvu": "^0.5.1"
- },
- "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"
- ]
- }
- }
|