UNPKG

markdown-it-copy-code

Version:

A markdown-it plugin to add code-copying function for code fence.

69 lines (68 loc) 1.6 kB
{ "name": "markdown-it-copy-code", "type": "module", "version": "0.1.3", "description": "A markdown-it plugin to add code-copying function for code fence.", "author": "casper", "license": "MIT", "homepage": "https://github.com/howcasperwhat/markdown-it-copy-code", "repository": { "type": "git", "url": "git+https://github.com/howcasperwhat/markdown-it-copy-code.git" }, "bugs": "https://github.com/howcasperwhat/markdown-it-copy-code/issues", "keywords": [ "markdown", "markdown-it", "copy", "code", "clipboard" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./styles/*": "./styles/*" }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "files": [ "dist", "styles" ], "scripts": { "build": "unbuild", "lint": "eslint .", "test": "vitest run", "serve": "serve -l 3000", "typecheck": "tsc --noEmit" }, "peerDependencies": { "markdown-it": ">= 13.0.0" }, "devDependencies": { "@antfu/eslint-config": "^2.21.1", "@shikijs/markdown-it": "^1.9.1", "@shikijs/twoslash": "^1.9.1", "@types/markdown-it": "^14.1.1", "@types/node": "^20.14.9", "eslint": "^9.5.0", "jsdom": "^24.1.0", "markdown-it": "^14.1.0", "serve": "^14.2.4", "typescript": "^5.5.2", "unbuild": "^2.0.0", "vitest": "^3.0.9" } }