UNPKG

@bcherny/json-schema-ref-parser

Version:

Parse, Resolve, and Dereference JSON Schema $ref pointers

114 lines (113 loc) 3.19 kB
{ "name": "@bcherny/json-schema-ref-parser", "version": "10.0.5-fork", "description": "Parse, Resolve, and Dereference JSON Schema $ref pointers", "keywords": [ "json", "schema", "jsonschema", "json-schema", "json-pointer", "$ref", "dereference", "resolve" ], "author": { "name": "James Messinger", "url": "https://jamesmessinger.com" }, "contributors": [ { "name": "Boris Cherny", "email": "boris@performancejs.com" }, { "name": "Phil Sturgeon", "email": "phil@apisyouwonthate.com" }, { "name": "Jakub Rożek", "email": "jakub@stoplight.io" } ], "homepage": "https://apitools.dev/json-schema-ref-parser/", "repository": { "type": "git", "url": "https://github.com/APIDevTools/json-schema-ref-parser.git" }, "license": "MIT", "funding": "https://github.com/sponsors/philsturgeon", "main": "lib/index.js", "typings": "lib/index.d.ts", "exports": { "types": "./lib/index.d.ts", "require": "./cjs/index.js", "default": "./lib/index.js" }, "browser": { "fs": false }, "engines": { "node": ">= 16" }, "files": [ "lib", "cjs" ], "type": "module", "scripts": { "build": "swc ./lib/*.js -d ./cjs && swc ./lib/**/*.js -d ./cjs && copyfiles ./lib/**/*.cjs -u 1 ./cjs && node ./scripts/writeCJSPackageJSON.cjs", "clean": "shx rm -rf coverage cjs", "lint": "eslint lib test/fixtures test/specs", "test": "npm run test:node && npm run test:typescript && npm run test:browser && npm run lint", "test:node": "mocha", "test:browser": "cross-env NODE_OPTIONS=--openssl-legacy-provider karma start karma.conf.cjs --single-run", "test:typescript": "tsc --noEmit --strict --lib esnext,dom test/specs/typescript-definition.spec.ts", "coverage": "npm run coverage:node && npm run coverage:browser", "coverage:node": "c8 node_modules/mocha/bin/mocha", "coverage:browser": "npm run test:browser -- --coverage", "upgrade": "npm-check -u && npm audit fix" }, "devDependencies": { "@babel/polyfill": "^7.12.1", "@chiragrupani/karma-chromium-edge-launcher": "^2.2.2", "@jsdevtools/eslint-config": "^1.0.7", "@jsdevtools/host-environment": "^2.1.2", "@jsdevtools/karma-config": "^3.1.7", "@swc/cli": "^0.1.59", "@swc/core": "^1.3.25", "@types/node": "^14.14.21", "c8": "^7.12.0", "chai": "^4.2.0", "chai-subset": "^1.6.0", "chokidar": "^3.5.3", "copyfiles": "^2.4.1", "cross-env": "^7.0.3", "eslint": "^7.18.0", "isomorphic-fetch": "^3.0.0", "karma": "^5.0.2", "karma-cli": "^2.0.0", "mocha": "^8.2.1", "node-abort-controller": "^3.0.1", "npm-check": "^5.9.0", "shx": "^0.3.2", "typescript": "^4.0.5" }, "dependencies": { "@jsdevtools/ono": "^7.1.3", "@types/json-schema": "^7.0.6", "call-me-maybe": "^1.0.1", "js-yaml": "^4.1.0" }, "release": { "branches": [ "main" ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/npm", "@semantic-release/github" ] } }