UNPKG

@autoanki/plugin-content-markdown

Version:

Extract Anki cards from Markdown fiels

74 lines 1.95 kB
{ "name": "@autoanki/plugin-content-markdown", "version": "0.1.9", "description": "Extract Anki cards from Markdown fiels", "keywords": [ "anki", "autoanki", "autoanki-source-plugin", "markdown" ], "repository": { "type": "git", "url": "https://github.com/chenlijun99/autoanki.git", "directory": "packages/autoanki-plugin-content-markdown" }, "license": "MIT", "publishConfig": { "access": "public" }, "engines": { "node": ">=16.16.0" }, "type": "module", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "files": [ "./dist/*", "./src/*", "./assets/*" ], "peerDependencies": { "@autoanki/core": "^0.1.7" }, "dependencies": { "highlight.js": "^11.6.0", "katex": "^0.15.0", "rehype-format": "^4.0.1", "rehype-highlight": "^6.0.0", "rehype-katex": "^6.0.2", "rehype-raw": "^6.1.1", "rehype-stringify": "^9.0.3", "rehype-wrap": "^1.1.0", "remark-gfm": "^3.0.1", "remark-math": "^5.1.1", "remark-parse": "^10.0.1", "remark-rehype": "^10.1.0", "unified": "^10.1.2", "zod": "^3.19.1" }, "devDependencies": { "@types/sass": "^1.43.1", "sass": "^1.56.1", "@autoanki/core": "^0.1.7" }, "scripts": { "update-config": "node config.mjs", "typegen": "tsc --project tsconfig.build.json --emitDeclarationOnly --declaration --declarationDir dist/ --declarationMap", "clean": "rimraf ./dist/ ./tsconfig.build.tsbuildinfo", "build:dev": "ts-node -T esbuild.config.mts", "prebuild:dev": "pnpm run clean", "prebuild:prod": "pnpm run clean && pnpm run typegen", "build:prod": "ts-node -T esbuild.config.mts production", "assets-gen": "ts-node builtin-themes-build.mts", "postbuild:prod": "pnpm run assets-gen" } }