UNPKG

@kayahr/ed-journal

Version:

Typescript library to read/watch the player journal of Frontier's game Elite Dangerous

80 lines (79 loc) 3.6 kB
{ "$schema": "http://json.schemastore.org/package", "name": "@kayahr/ed-journal", "version": "3.0.0", "type": "module", "description": "Typescript library to read/watch the player journal of Frontier's game Elite Dangerous", "keywords": [ "typescript", "frontier", "elite", "dangerous", "journal", "schema", "json", "watch" ], "license": "MIT", "repository": "github:kayahr/ed-journal", "publishConfig": { "access": "public" }, "author": { "name": "Klaus Reimer", "email": "k@ailis.de" }, "funding": "https://github.com/kayahr/ed-journal?sponsor=1", "files": [ "lib/main/", "lib/*.schema.json", "src/main/" ], "exports": "./lib/main/index.js", "scripts": { "clean": "rimraf lib", "build": "run-s build:*", "build:compile": "tsc", "build:schema": "run-p build:schema:*", "build:schema:event": "ts-json-schema-generator -e all -f tsconfig.json -t AnyJournalEvent -o lib/journal-event.schema.json", "build:schema:backpack": "ts-json-schema-generator -e all -f tsconfig.json -t Backpack -o lib/backpack.schema.json", "build:schema:cargo": "ts-json-schema-generator -e all -f tsconfig.json -t Cargo -o lib/cargo.schema.json", "build:schema:fcmaterials": "ts-json-schema-generator -e all -f tsconfig.json -t ExtendedFCMaterials -o lib/fcmaterials.schema.json", "build:schema:market": "ts-json-schema-generator -e all -f tsconfig.json -t ExtendedMarket -o lib/market.schema.json", "build:schema:modulesinfo": "ts-json-schema-generator -e all -f tsconfig.json -t ExtendedModuleInfo -o lib/modulesinfo.schema.json", "build:schema:navroute": "ts-json-schema-generator -e all -f tsconfig.json -t ExtendedNavRoute -o lib/navroute.schema.json", "build:schema:outfitting": "ts-json-schema-generator -e all -f tsconfig.json -t ExtendedOutfitting -o lib/outfitting.schema.json", "build:schema:shiplocker": "ts-json-schema-generator -e all -f tsconfig.json -t ShipLocker -o lib/shiplocker.schema.json", "build:schema:shipyard": "ts-json-schema-generator -e all -f tsconfig.json -t ExtendedShipyard -o lib/shipyard.schema.json", "build:schema:status": "ts-json-schema-generator -e all -f tsconfig.json -t Status -o lib/status.schema.json", "test": "run-s test:*", "test:unit": "vitest run", "test:lint": "eslint --max-warnings 0", "test:apidoc": "typedoc --emit none", "test:spell": "cspell --no-progress --no-summary", "apidoc": "typedoc", "site": "npm run apidoc && rimraf site && copyfiles -V -u 2 'lib/apidoc/**/*' lib/site && copyfiles -V -u 1 'lib/*.schema.json' lib/site/schemas", "install:browser": "playwright install chromium", "prepare": "run-s install:browser clean build" }, "devDependencies": { "@kayahr/eslint-config": "3.3.0", "@kayahr/vitest-matchers": "1.1.0", "@types/glob": "8.1.0", "@types/node": "22.13.8", "@types/rimraf": "4.0.5", "@vitest/coverage-v8": "3.0.7", "copyfiles": "2.4.1", "cspell": "8.17.5", "jsonschema": "1.5.0", "npm-run-all": "4.1.5", "playwright": "1.50.1", "rimraf": "6.0.1", "source-map-support": "0.5.21", "ts-json-schema-generator": "2.3.0", "typedoc": "0.27.9", "typedoc-github-theme": "0.2.1", "typescript": "5.8.2", "vitest": "3.0.7" } }