{ "name": "@dorfteich/shared", "version": "0.0.0", "private": true, "description": "Types, schemas, and logic shared between web, api, and collab", "license": "MIT", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./token-crypto": { "types": "./dist/token-crypto.d.ts", "import": "./dist/token-crypto.mjs", "require": "./dist/token-crypto.js" }, "./webdav": { "types": "./dist/webdav.d.ts", "import": "./dist/webdav.mjs", "require": "./dist/webdav.js" }, "./i18n/*": "./i18n/*" }, "//": "typesVersions maps the server-only subpaths for the api, which uses classic (node10) module resolution that ignores the exports field.", "typesVersions": { "*": { "token-crypto": [ "./dist/token-crypto.d.ts" ], "webdav": [ "./dist/webdav.d.ts" ] } }, "files": [ "dist", "i18n" ], "scripts": { "build": "tsup src/index.ts src/token-crypto.ts src/webdav.ts --format esm,cjs --dts --clean", "typecheck": "tsc --noEmit", "test": "vitest run --passWithNoTests" }, "dependencies": { "jose": "^6.2.4", "markdown-it": "^14.3.0", "prosemirror-markdown": "^1.13.4", "prosemirror-model": "^1.25.9", "prosemirror-tables": "^1.8.5", "zod": "^3.24.0" }, "devDependencies": { "@types/markdown-it": "^14.1.2", "@types/node": "^26.1.0", "tsup": "^8.3.0", "vitest": "^3.0.0" } }