UNPKG

docschema

Version:

Schema declaration and validation library using JsDoc comments

67 lines (66 loc) 1.86 kB
{ "name": "docschema", "version": "1.5.0", "author": { "name": "AseasRoa" }, "description": "Schema declaration and validation library using JsDoc comments", "license": "MIT", "type": "module", "types": "./dist/types/lib/index.d.ts", "main": "./lib/index.js", "browser": "./dist/bundle.js", "exports": { "types": "./dist/types/lib/index.d.ts", "browser": "./dist/bundle.js", "import": "./lib/index.js", "default": "./lib/index.js" }, "imports": { "#docschema": { "default": "./lib/index.js" } }, "scripts": { "dev": "vite", "check": "npm run check:tsc & npm run check:eslint & npm run check:dpdm -- --no-warning --no-tree", "check:eslint": "eslint --config eslint.config.js ./", "check:tsc": "tsc --noEmit", "check:dpdm": "dpdm --exit-code circular:1 ./lib/index.js", "depencency-graph": "npx depcruise lib --output-type archi | dot -T svg > dependency-graph.svg", "test": "vitest", "coverage": "vitest run --coverage", "benchmark": "node benchmarks/index.js", "build": "vite build & tsc", "prepublishOnly": "npm run test && npm run build" }, "devDependencies": { "@types/benchmark": "^2.1.5", "@types/node": "^24.0.4", "@vitest/coverage-v8": "^3.2.4", "@vitest/eslint-plugin": "^1.3.3", "benchmark": "^2.1.4", "dependency-cruiser": "^16.10.3", "dpdm": "^3.14.0", "eslint": "^9.29.0", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jsdoc": "^51.2.3", "typescript": "^5.8.3", "vitest": "^3.2.4" }, "repository": { "type": "git", "url": "git+https://github.com/AseasRoa/DocSchema.git" }, "homepage": "https://github.com/AseasRoa/DocSchema", "keywords": [ "frontend", "backend", "schema", "validation", "jsdoc" ], "engines": { "node": ">=18.0.0" } }