UNPKG

@openactive/data-model-validator

Version:

A library to allow a developer to validate a JSON document against the OpenActive Modelling Opportunity Specification

64 lines (63 loc) 1.85 kB
{ "name": "@openactive/data-model-validator", "version": "3.0.3", "description": "A library to allow a developer to validate a JSON document against the OpenActive Modelling Opportunity Specification", "homepage": "https://openactive.io", "author": "OpenActive Community <hello@openactive.io>", "keywords": [ "openactive", "odi", "validator", "json" ], "main": "src/index.js", "engines": { "node": ">=18.17.1", "npm": ">=9.6.7" }, "repository": { "type": "git", "url": "https://github.com/openactive/data-model-validator.git" }, "bugs": { "url": "https://github.com/openactive/data-model-validator/issues" }, "license": "MIT", "dependencies": { "@openactive/data-models": "^3.0.0", "@types/lodash": "^4.14.182", "axios": "^0.19.2", "currency-codes": "^1.5.1", "html-entities": "^1.3.1", "jsonpath": "^1.0.2", "lodash": "^4.17.21", "moment": "^2.24.0", "rrule": "^2.6.2", "striptags": "^3.1.1", "uritemplate": "^0.3.4", "validator": "^10.11.0", "write-file-atomic": "^3.0.3" }, "devDependencies": { "@types/jasmine": "^5.1.4", "@types/jasmine-expect": "^3.8.1", "@types/node": "^20.11.24", "eslint": "^8.47.0", "eslint-config-airbnb": "^19.0.4", "eslint-plugin-import": "^2.27.5", "jasmine": "^4.6.0", "nock": "^13.3.0", "sync-request": "^6.1.0", "typescript": "^5.1.6" }, "scripts": { "lint": "eslint \"src/**/*.js\"", "lint-fix": "eslint \"src/**/*.js\" --fix", "pretest": "npm run lint && tsc", "test": "npm run run-tests", "run-tests": "jasmine", "test-debug": "node --inspect-brk -i ./node_modules/jasmine/bin/jasmine.js", "postpublish": "git push", "publish-patch": "npm test && git pull && git push && npm version patch && npm publish" } }