UNPKG

mock-json-schema

Version:

Simple utility to mock example objects based on JSON schema definitions

64 lines (63 loc) 1.51 kB
{ "name": "mock-json-schema", "description": "Simple utility to mock example objects based on JSON schema definitions", "version": "1.1.1", "author": "Viljami Kuosmanen <viljami@avoinsorsa.fi>", "license": "MIT", "keywords": [ "mock", "json schema", "json", "schema", "example", "instantiate", "swagger", "openapi", "typescript" ], "homepage": "https://github.com/anttiviljami/mock-json-schema", "repository": { "type": "git", "url": "git+https://github.com/anttiviljami/mock-json-schema.git" }, "bugs": { "url": "https://github.com/anttiviljami/mock-json-schema/issues" }, "main": "index.js", "types": "index.d.ts", "files": [ "*.js", "*.d.ts", "**/*.js", "**/*.d.ts", "!*.test.*", "!**/*.test.*", "!node_modules", "!src", "!*.config.js" ], "dependencies": { "lodash": "^4.17.21" }, "devDependencies": { "@types/jest": "^23.3.10", "@types/lodash": "^4.14.118", "@types/node": "^10.12.12", "jest": "^26.6.3", "openapi-types": "^9.0.3", "prettier": "^1.15.3", "source-map-support": "^0.5.9", "ts-jest": "^26.5.5", "tslint": "^5.11.0", "tslint-microsoft-contrib": "^5.2.1", "typescript": "^3.9.9" }, "scripts": { "build": "tsc", "watch-build": "tsc -w", "prepare": "npm run build", "lint": "tslint --format prose --project .", "prettier": "prettier --write src/** __tests__/**", "test": "NODE_ENV=test jest" } }