evgene-kopylov_fsrs_plugin/package.json
Evgene Kopylov f7bc590663 0.19.1
2026-07-08 22:45:50 +02:00

52 lines
2.2 KiB
JSON

{
"name": "obsidian-fsrs-plugin",
"version": "0.19.1",
"description": "Free Spaced Repetition Scheduler integration. Implements FSRS algorithm for spaced repetition flashcards directly in your notes.",
"main": "main.js",
"type": "module",
"scripts": {
"postinstall": "command -v git >/dev/null && npx lefthook install || true",
"build-wasm": "WASM_OPT_ARGS=-Oz wasm-pack build wasm-lib --target web --out-dir pkg --out-name wasm_lib",
"encode-wasm": "node scripts/encode-wasm.js",
"wasm": "npm run build-wasm && npm run encode-wasm && node scripts/strip-wasm-fetch.js",
"dev": "nodemon --watch wasm-lib/src --ext rs --exec \"npm run wasm && node esbuild.config.mjs\"",
"build": "npm run wasm && tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"build:wasm": "npm run wasm",
"build:skip-wasm": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json",
"find-dead-exports": "ts-prune -p tsconfig.json | grep '^src/' || true",
"lint": "eslint .",
"lint:css": "stylelint '**/*.css'",
"test": "vitest --run",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
"test:ui": "vitest --ui"
},
"keywords": [],
"license": "LGPL-3.0",
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
"@eslint/js": "9.30.1",
"@types/node": "^20.19.39",
"@vitest/coverage-v8": "^2.1.9",
"@vitest/ui": "^2.0.0",
"esbuild": "0.25.5",
"esbuild-plugin-wasm": "^1.1.0",
"eslint-plugin-obsidianmd": "^0.2.5",
"globals": "14.0.0",
"jiti": "2.6.1",
"jsdom": "^24.1.3",
"lefthook": "^2.1.6",
"nodemon": "^3.1.14",
"stylelint": "^17.11.1",
"stylelint-config-recommended": "^18.0.0",
"tslib": "2.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "8.35.1",
"vitest": "^2.1.9"
},
"dependencies": {
"binaryen": "^129.0.0",
"obsidian": "latest"
}
}