docschema
Version:
Schema declaration and validation library using JsDoc comments
67 lines (66 loc) • 1.84 kB
JSON
{
"name": "docschema",
"version": "1.4.0",
"author": {
"name": "AseasRoa"
},
"description": "Schema declaration and validation library using JsDoc comments",
"license": "MIT",
"type": "module",
"types": "./types/index.d.ts",
"main": "./lib/index.js",
"browser": "./dist/bundle.js",
"exports": {
"types": "./types/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",
"prepublishOnly": "npm run test && npm run build"
},
"devDependencies": {
"@types/benchmark": "^2.1.5",
"@types/node": "^22.15.21",
"@vitest/coverage-v8": "^3.1.4",
"@vitest/eslint-plugin": "^1.2.0",
"benchmark": "^2.1.4",
"dependency-cruiser": "^16.10.2",
"dpdm": "^3.14.0",
"eslint": "^9.27.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^50.6.17",
"typescript": "^5.8.3",
"vitest": "^3.1.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"
}
}