UNPKG

yanki

Version:

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

123 lines 3.44 kB
{ "name": "yanki", "version": "1.0.0", "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.118", "@types/unist": "^3.0.3", "@types/yargs": "^17.0.33", "globby": "^14.1.0", "rehype-parse": "^9.0.1", "yargs": "^17.7.2" }, "devDependencies": { "@kitschpatrol/shared-config": "^5.5.0", "@shikijs/rehype": "^3.7.0", "@sindresorhus/fnv1a": "^3.1.0", "@sindresorhus/slugify": "^2.2.1", "@stdlib/assert-is-absolute-path": "^0.2.2", "@vitest/browser": "^3.2.4", "@vitest/coverage-istanbul": "^3.2.4", "@vitest/coverage-v8": "^3.2.4", "bumpp": "^10.2.0", "crypto-hash": "^3.1.0", "deepmerge-ts": "^7.1.5", "execa": "^9.6.0", "filenamify": "^6.0.0", "hast-util-to-text": "^4.0.2", "linkedom": "^0.18.11", "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", "picocolors": "^1.1.1", "pkgroll": "2.13.1", "playwright": "^1.54.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.3.0", "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.2", "slash": "^5.1.0", "sort-keys": "^5.1.0", "strip-ansi": "^7.1.0", "tsx": "^4.20.3", "type-fest": "^4.41.0", "typescript": "~5.8.3", "unified": "^11.0.5", "unist-builder": "^4.0.0", "unist-util-visit": "^5.0.0", "untildify": "^5.0.0", "vite": "^6.3.5", "vitest": "^3.2.4", "yaml": "^2.8.0", "yanki-connect": "^3.0.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" } }