UNPKG

allof-merge

Version:

Simplify JsonSchema/Openapi by combining allOf safely

91 lines (90 loc) 2.12 kB
{ "name": "allof-merge", "version": "0.6.7", "description": "Simplify JsonSchema/Openapi by combining allOf safely", "module": "dist/index.mjs", "main": "dist/index.cjs", "browser": "dist/allof-merge.min.js", "typings": "dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "scripts": { "prebuild": "rimraf ./dist", "build": "rollup -c", "test": "jest --verbose", "test:coverage": "jest --verbose --coverage", "benchmark": "yarn build && node benchmark" }, "keywords": [ "json", "schema", "json-schema", "jsonschema", "openapi", "swagger", "allof", "merge", "resolve", "simplify" ], "repository": { "type": "git", "url": "https://github.com/udamir/allof-merge" }, "author": "Damir Yusipov", "license": "MIT", "devDependencies": { "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-json": "^6.0.1", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.0", "@types/jest": "^29.5.2", "@types/js-yaml": "^4.0.5", "benchmark": "^2.1.4", "gqlapi": "^0.5.1", "graphql": "^16.8.1", "jest": "^29.5.0", "js-yaml": "^4.1.0", "json-schema-merge-allof": "^0.8.1", "rimraf": "^5.0.5", "rollup": "^4.22.5", "rollup-plugin-filesize": "^9.1.0", "rollup-plugin-progress": "^1.1.2", "ts-jest": "^29.1.0", "ts-loader": "^9.4.3", "ts-node": "^10.7.0", "tslint": "^6.1.2", "typescript": "^5.1.3" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.(ts?|tsx?|js?|jsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "modulePathIgnorePatterns": [ "<rootDir>/dist/" ], "collectCoverage": true }, "dependencies": { "json-crawl": "^0.5.3" } }