UNPKG

obsidian-typings

Version:

Extended type definitions for the Obsidian API (https://obsidian.md)

147 lines (146 loc) 4.82 kB
{ "name": "obsidian-typings", "version": "4.93.0", "description": "Extended type definitions for the Obsidian API (https://obsidian.md)", "main": "", "module": "", "types": "./dist/cjs/types.d.cts", "exports": { ".": { "require": { "types": "./dist/cjs/types.d.cts" }, "import": { "types": "./dist/esm/types.d.mts" } }, "./implementations": { "require": { "types": "./dist/cjs/implementations.d.cts", "default": "./dist/cjs/implementations.cjs" }, "import": { "types": "./dist/esm/implementations.d.mts", "default": "./dist/esm/implementations.mjs" } } }, "type": "module", "repository": { "type": "git", "url": "git+https://github.com/Fevol/obsidian-typings.git" }, "keywords": [ "obsdmd", "obsidian", "typings", "API" ], "author": { "name": "Fevol", "url": "https://github.com/fevol", "email": "fevolmail@gmail.com" }, "contributors": [ { "name": "Michael Naumov", "url": "https://github.com/mnaoumov", "email": "mnaoumov@gmail.com" } ], "license": "MIT", "bugs": { "url": "https://github.com/Fevol/obsidian-typings/issues" }, "homepage": "https://github.com/Fevol/obsidian-typings#readme", "dependencies": { "@antfu/utils": "9.2.0", "@capacitor/core": "5.7.8", "@codemirror/language": "6.11.2", "@codemirror/search": "6.5.11", "@codemirror/state": "6.5.0", "@codemirror/view": "6.38.6", "@lezer/common": "1.2.3", "@pixi/color": "7.2.4", "@pixi/events": "7.2.4", "@pixi/settings": "7.2.4", "@types/codemirror": "5.60.8", "@types/css-font-loading-module": "0.0.14", "@types/dompurify": "3.0.1", "@types/node": "25.0.3", "@types/prismjs": "1.26.5", "@types/turndown": "5.0.5", "colord": "2.9.3", "electron": "39.2.7", "i18next": "25.2.1", "mermaid": "11.4.1", "obsidian": "1.11.4", "pdfjs-dist": "5.3.31", "pixi.js": "7.2.4", "scrypt-js": "3.0.1", "style-mod": "4.1.3", "type-fest": "5.3.1" }, "devDependencies": { "@commitlint/cli": "^20.2.0", "@commitlint/config-conventional": "^20.2.0", "@commitlint/types": "^20.2.0", "@microsoft/api-extractor": "^7.55.2", "@tsconfig/strictest": "^2.0.8", "builtin-modules": "^5.0.0", "bun": "^1.3.5", "commitizen": "^4.3.1", "cspell": "^9.4.0", "cz-conventional-changelog": "^3.3.0", "dprint": "^0.50.2", "dts-bundle-generator": "^9.5.1", "esbuild": "^0.27.2", "husky": "^9.1.7", "npm-run-all": "^4.1.5", "patch-package": "^8.0.1", "semver": "^7.7.3", "ts-morph": "^27.0.2", "typescript": "^5.9.3" }, "peerDependencies": { "typescript": ">=4.8.0" }, "overrides": { "@antfu/utils": "9.2.0", "boolean": "npm:dry-uninstall", "dompurify": "3.0.1", "typescript": "$typescript" }, "scripts": { "build": "npm-run-all build:clean build:compile build:generate-index build:bundle-types build:fix-bundle-types build:implementations build:implementations:generate-types build:implementations:bundle-types build:fix-implementations-bundle-types build:static build:extract-api", "build:clean": "bun run scripts/build-clean.ts", "build:compile": "tsc --build --force", "build:generate-index": "bun run scripts/build-generate-index.ts", "build:bundle-types": "dts-bundle-generator ./src/index.d.ts --out-file ./dist/cjs/types.d.cts --inline-declare-global --inline-declare-externals --sort --no-check", "build:fix-bundle-types": "bun run scripts/build-fix-bundle-types.ts", "build:implementations": "bun run scripts/build-implementations.ts", "build:implementations:generate-types": "tsc --project ./tsconfig.implementations.json", "build:implementations:bundle-types": "dts-bundle-generator ./src/obsidian/implementations/index.ts --out-file ./dist/cjs/implementations.d.cts --sort --no-check", "build:fix-implementations-bundle-types": "bun run scripts/build-fix-implementations-bundle-types.ts", "build:static": "bun run scripts/build-static.ts", "build:extract-api": "api-extractor run --local", "commit": "cz", "format": "bun run scripts/sort-interfaces.ts ./src/ && bun dprint fmt", "format:fast": "bun run scripts/format-fast.ts", "postinstall": "node scripts/postinstall.mjs", "prepare": "husky", "release": "git show origin/main:workflow-scripts/release.ts | bun -", "release:beta": "git show origin/main:workflow-scripts/release-beta.ts | bun -", "spellcheck": "cspell . --no-progress" }, "files": [ "dist/", "implementations/", "patches/", "scripts/postinstall.mjs", "CHANGELOG.md", "LICENSE", "README.md", "package.json" ] }