UNPKG

dereference-json-schema

Version:

Dereference $ref pointers in JSONSchema or OpenAPI documents.

52 lines (51 loc) 1.43 kB
{ "name": "dereference-json-schema", "version": "0.2.1", "description": "Dereference $ref pointers in JSONSchema or OpenAPI documents.", "main": "index.js", "types": "index.d.ts", "scripts": { "test": "jest", "build": "swc src/ -d . --config-file .swcrc", "types": "tsc --declaration --outDir . src/index.ts", "prepublishOnly": "npm run build && npm run types -- --emitDeclarationOnly", "prettier": "prettier --write \"**/*.{ts,json,md}\"", "lint": "prettier --check \"**/*.{ts,json,md}\"", "prepare": "husky install" }, "files": [ "*.js", "*.d.ts", "!*.test.ts", "!*.test.js" ], "repository": { "type": "git", "url": "git+https://github.com/anttiviljami/dereference-json-schema.git" }, "keywords": [ "dereference", "json-schema", "openapi", "swagger" ], "author": "Viljami Kuosmanen <viljami@viljami.io>", "license": "MIT", "bugs": { "url": "https://github.com/anttiviljami/dereference-json-schema/issues" }, "homepage": "https://github.com/anttiviljami/dereference-json-schema#readme", "devDependencies": { "@swc/cli": "^0.1.61", "@swc/core": "^1.3.35", "@swc/jest": "^0.2.24", "@types/jest": "^29.4.0", "@types/json-schema": "^7.0.11", "husky": "^8.0.0", "jest": "^29.4.2", "prettier": "^2.8.4", "pretty-quick": "^3.1.3", "ts-node": "^10.9.1", "typescript": "^4.9.5" } }