yanki
Version:
A CLI tool and TypeScript library for syncing Markdown to Anki flashcards.
119 lines • 3.36 kB
JSON
{
"name": "yanki",
"version": "1.2.9",
"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": {
".": {
"types": "./dist/lib/index.d.ts",
"import": "./dist/lib/index.js"
}
},
"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.130",
"@types/unist": "^3.0.3",
"@types/yargs": "^17.0.35",
"globby": "^14.1.0",
"rehype-parse": "^9.0.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@kitschpatrol/shared-config": "^5.10.0",
"@shikijs/rehype": "^3.19.0",
"@sindresorhus/fnv1a": "^3.1.0",
"@sindresorhus/slugify": "^3.0.0",
"@stdlib/assert-is-absolute-path": "^0.2.2",
"@vitest/browser-playwright": "^4.0.15",
"@vitest/coverage-v8": "^4.0.15",
"bumpp": "^10.3.2",
"crypto-hash": "^4.0.0",
"deepmerge-ts": "^7.1.5",
"execa": "^9.6.1",
"filenamify": "6.0.0",
"hast-util-to-text": "^4.0.2",
"linkedom": "^0.18.12",
"mdast-util-from-markdown": "^2.0.2",
"mdat-plugin-cli-help": "^1.0.4",
"micromark-util-sanitize-uri": "^2.0.1",
"micromark-util-types": "^2.0.2",
"nanoid": "^5.1.6",
"path-browserify-esm": "^1.0.6",
"picocolors": "^1.1.1",
"pkgroll": "^2.21.4",
"playwright": "^1.57.0",
"plur": "^6.0.0",
"pretty-ms": "^9.3.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.2",
"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": "^6.0.0",
"strip-ansi": "^7.1.2",
"tsx": "^4.21.0",
"type-fest": "^5.3.1",
"typescript": "~5.9.3",
"unified": "^11.0.5",
"unist-builder": "^4.0.0",
"unist-util-visit": "^5.0.0",
"untildify": "^6.0.0",
"vitest": "^4.0.15",
"yaml": "^2.8.2",
"yanki-connect": "^3.2.2"
},
"engines": {
"node": "^18.15.0 || >=20.11.0"
},
"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": "ksc fix",
"lint": "ksc lint",
"release": "bumpp --commit 'Release: %s' && pnpm run build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') && pnpm publish",
"test": "vitest"
}
}