UNPKG

fvtt-types

Version:
194 lines (193 loc) 5.32 kB
{ "$schema": "https://json.schemastore.org/package.json", "name": "fvtt-types", "version": "13.346.0-beta.20250812191140", "description": "TypeScript type definitions for Foundry VTT", "type": "module", "types": "./src/index.d.mts", "exports": { ".": { "types": "./src/index.d.mts" }, "./lenient": { "types": "./src/index-lenient.d.mts" }, "./utils": { "types": "./src/utils/index.d.mts" }, "./configuration": { "types": "./src/configuration/index.d.mts" }, "./workers": { "types": "./src/foundry/public/scripts/workers/index.d.mts" }, "./workers/image-compressor": { "types": "./src/foundry/public/scripts/workers/image-compressor.d.mts" } }, "imports": { "#client/*": { "import": "./src/foundry/client/*" }, "#common/*": { "import": "./src/foundry/common/*" }, "#utils": { "import": "./src/utils/index.d.mts" }, "#configuration": { "import": "./src/configuration/index.d.mts" } }, "scripts": { "format": "prettier -l -w .", "lint": "npm-run-all -c typecheck eslint prettier", "eslint": "eslint --cache .", "prettier": "prettier -c .", "lint:fix": "npm-run-all -c typecheck eslint:fix prettier:fix", "eslint:fix": "eslint --cache --fix .", "prettier:fix": "prettier -l -w .", "eslint:report": "eslint --cache --output-file eslint_report.json --format json .", "test": "vitest --typecheck --run", "test:watch": "vitest --typecheck", "typecheck": "tsgo", "typecheck:all": "tsgo --project tsconfig.all.json", "prepare": "is-ci || husky" }, "repository": { "type": "git", "url": "https://github.com/League-of-Foundry-Developers/foundry-vtt-types" }, "contributors": [ { "name": "LukeAbby" }, { "name": "Kai Moschcau" }, { "name": "Johannes Loher" }, { "name": "Oskar Pfeifer-Bley" }, { "name": "FloRad" }, { "name": "NickEastNL" }, { "name": "BoltsJ" }, { "name": "JPMeehan" } ], "license": "MIT", "bugs": { "url": "https://github.com/League-of-Foundry-Developers/foundry-vtt-types/issues" }, "homepage": "https://github.com/League-of-Foundry-Developers/foundry-vtt-types", "keywords": [ "foundry", "foundry-vtt", "types", "typescript" ], "dependencies": { "@codemirror/lang-html": "^6.4.9", "@codemirror/lang-javascript": "^6.2.3", "@codemirror/lang-json": "^6.0.1", "@codemirror/lang-markdown": "^6.3.2", "@pixi/basis": "github:foundry-vtt-types/pixi-basis#main", "@pixi/graphics-smooth": "^1.1.1", "@pixi/particle-emitter": "github:foundry-vtt-types/pixi-particle-emitter#main", "@types/jquery": "^3.5.32", "@types/showdown": "~2.0.6", "@types/simple-peer": "~9.11.1", "@types/youtube": "~0.0.48", "codemirror": "^6.0.1", "handlebars": "^4.7.8", "handlebars-intl": "^1.1.2", "jquery": "^3.7.1", "mime-types": "^3.0.1", "peggy": "^4.2.0", "pixi-basis-ktx2": "^0.0.22", "pixi.js": "github:foundry-vtt-types/pixi.js#main", "prosemirror-collab": "^1.3.1", "prosemirror-commands": "^1.7.0", "prosemirror-dropcursor": "^1.8.1", "prosemirror-gapcursor": "^1.3.2", "prosemirror-history": "^1.4.1", "prosemirror-inputrules": "^1.5.0", "prosemirror-keymap": "^1.2.2", "prosemirror-model": "^1.25.0", "prosemirror-schema-list": "^1.5.1", "prosemirror-state": "^1.4.3", "prosemirror-tables": "^1.6.4", "prosemirror-transform": "^1.10.3", "prosemirror-view": "^1.38.1", "sanitize-html": "^2.15.0", "showdown": "^2.1.0", "simple-peer": "^9.11.1", "socket.io": "^4.8.1", "socket.io-client": "^4.8.1", "spark-md5": "^3.0.2", "tinymce": "^6.8.5" }, "devDependencies": { "@actions/core": "^1.11.1", "@actions/github": "^6.0.0", "@eslint/compat": "^1.2.6", "@eslint/js": "^9.19.0", "@types/debug": "^4.1.12", "@types/fvtt-types": "file:.", "@typescript-eslint/eslint-plugin": "^8.31.0", "@typescript-eslint/parser": "^8.31.0", "@typescript-eslint/scope-manager": "^8.31.0", "@typescript-eslint/utils": "^8.31.0", "@typescript/native-preview": "^7.0.0-dev.20250620.1", "eslint": "^9.19.0", "eslint-config-prettier": "^10.0.1", "eslint-import-resolver-typescript": "^4.3.2", "eslint-plugin-import-x": "^4.6.1", "eslint-plugin-jsdoc": "^52.0.0", "eslint-plugin-tsdoc": "^0.4.0", "globals": "^16.0.0", "husky": "^9.1.4", "is-ci": "^4.1.0", "lint-staged": "^16.0.0", "npm-run-all2": "^8.0.1", "pathe": "^2.0.2", "prettier": "^3.0.3", "type-fest": "^4.41.0", "typescript": "^5.8.2", "typescript-eslint": "^8.31.0", "vitest": "^4.0.0-beta.7" }, "overrides": { "expect-type": "^1.2.2" }, "peerDependencies": { "@typescript/native-preview": "*", "typescript": "^5.4" }, "peerDependenciesMeta": { "typescript": { "optional": true }, "@typescript/native-preview": { "optional": true } }, "files": [ "src", "tsconfig.base.json", "tsconfig.json" ], "publishConfig": { "access": "public" }, "packageManager": "npm@10.8.1" }