UNPKG

yanki

Version:

A CLI tool and TypeScript library for syncing Markdown to Anki flashcards.

124 lines 3.46 kB
{ "name": "yanki", "version": "0.18.10", "description": "A CLI tool and TypeScript library for syncing Markdown to Anki flashcards.", "keywords": [ "anki", "flashcards", "spaced-repetition", "anki-connect", "markdown", "cli", "sync", "npm-package" ], "homepage": "https://github.com/kitschpatrol/yanki", "bugs": "https://github.com/kitschpatrol/yanki/issues", "repository": { "type": "git", "url": "git+https://github.com/kitschpatrol/yanki.git" }, "license": "MIT", "author": { "name": "Eric Mika", "email": "eric@ericmika.com", "url": "https://ericmika.com" }, "type": "module", "exports": { ".": { "import": "./dist/lib/index.js", "types": "./dist/lib/index.d.ts" } }, "main": "./dist/lib/index.js", "module": "./dist/lib/index.js", "types": "./dist/lib/index.d.ts", "bin": { "yanki": "dist/bin/cli.js" }, "files": [ "dist/*" ], "dependencies": { "@types/hast": "^3.0.4", "@types/lodash-es": "^4.17.12", "@types/mdast": "^4.0.4", "@types/node": "^18.19.84", "@types/unist": "^3.0.3", "@types/yargs": "^17.0.33", "chalk": "^5.4.1", "entities": "4.5.0", "globby": "^14.1.0", "rehype-parse": "^9.0.1", "yargs": "^17.7.2" }, "devDependencies": { "@kitschpatrol/shared-config": "^5.4.0", "@shikijs/rehype": "^3.2.1", "@sindresorhus/fnv1a": "^3.1.0", "@sindresorhus/slugify": "^2.2.1", "@stdlib/assert-is-absolute-path": "^0.2.2", "@vitest/browser": "^3.0.9", "@vitest/coverage-istanbul": "^3.0.9", "@vitest/coverage-v8": "^3.0.9", "bumpp": "^10.1.0", "crypto-hash": "^3.1.0", "deepmerge-ts": "^7.1.5", "execa": "^9.5.2", "filenamify": "^6.0.0", "hast-util-to-text": "^4.0.2", "linkedom": "^0.18.9", "mdast-util-from-markdown": "^2.0.2", "micromark-util-sanitize-uri": "^2.0.1", "micromark-util-types": "^2.0.2", "nanoid": "^5.1.5", "path-browserify-esm": "^1.0.6", "pkgroll": "^2.12.1", "playwright": "^1.51.1", "plur": "^5.1.0", "pretty-ms": "^9.2.0", "rehype-format": "^5.0.1", "rehype-raw": "^7.0.0", "rehype-stringify": "^10.0.1", "remark": "^15.0.1", "remark-breaks": "^4.0.0", "remark-denden-ruby": "^0.3.1", "remark-flexible-markers": "^1.2.1", "remark-frontmatter": "^5.0.0", "remark-gfm": "^4.0.1", "remark-github-beta-blockquote-admonitions": "^3.1.1", "remark-math": "^6.0.0", "remark-parse": "^11.0.0", "remark-rehype": "^11.1.1", "slash": "^5.1.0", "sort-keys": "^5.1.0", "strip-ansi": "^7.1.0", "tsx": "^4.19.3", "type-fest": "^4.38.0", "typescript": "~5.8.2", "unified": "^11.0.5", "unist-builder": "^4.0.0", "unist-util-visit": "^5.0.0", "untildify": "^5.0.0", "vite": "^6.2.3", "vitest": "^3.0.9", "yaml": "^2.7.1", "yanki-connect": "^2.2.1" }, "engines": { "node": "^18.15.0 || >=20.11.0" }, "publishConfig": { "access": "public" }, "scripts": { "build": "pkgroll --clean-dist --minify --tsconfig tsconfig.build.json", "clean": "git rm -f pnpm-lock.yaml ; git clean -fdX", "coverage": "vitest run --coverage", "fix": "kpi fix", "lint": "kpi lint", "release": "bumpp --commit 'Release: %s' && pnpm run build && pnpm publish --otp $(op read 'op://Personal/Npmjs/one-time password?attribute=otp')", "test": "vitest" } }