4 "description": "Another JSON Schema Validator",
6 "types": "dist/ajv.d.ts",
14 "eslint": "eslint \"lib/**/*.ts\" \"spec/**/*.*s\" scripts --ignore-pattern spec/JSON-Schema-Test-Suite",
15 "prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
16 "prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
17 "test-spec": "cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register \"spec/**/*.spec.{ts,js}\" -R dot -g \\(.recursiveRef.with.no..recursiveAnchor\\|.dynamicRef.with.no..dynamicAnchor\\).in.the.initial.target.schema.resource -i",
18 "test-codegen": "nyc cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register 'spec/codegen.spec.ts' -R spec",
19 "test-debug": "npm run test-spec -- --inspect-brk",
20 "test-cov": "nyc npm run test-spec",
21 "bundle": "rm -rf bundle && node ./scripts/bundle.js ajv ajv7 ajv7 && node ./scripts/bundle.js 2019 ajv2019 ajv2019 && node ./scripts/bundle.js jtd ajvJTD ajvJTD",
22 "build": "rm -rf dist && tsc && cp -r lib/refs dist && rm dist/refs/json-schema-2019-09/index.ts && rm dist/refs/json-schema-2020-12/index.ts && rm dist/refs/jtd-schema.ts",
23 "json-tests": "rm -rf spec/_json/*.js && node scripts/jsontests",
24 "test-karma": "karma start",
25 "test-browser": "rm -rf .browser && npm run bundle && scripts/prepare-tests && karma start",
26 "test-all": "npm run test-cov && if-node-version 12 npm run test-browser",
27 "test": "npm run json-tests && npm run prettier:check && npm run eslint && npm link && npm link ajv && npm run test-cov",
28 "test-ci": "AJV_FULL_TEST=true npm test",
29 "prepublish": "npm run build",
30 "benchmark": "npm i && npm run build && npm link && cd ./benchmark && npm link ajv && npm i && node ./jtd",
31 "docs:dev": "./scripts/prepare-site && vuepress dev docs",
32 "docs:build": "./scripts/prepare-site && vuepress build docs"
46 "url": "https://github.com/ajv-validator/ajv.git"
55 "json-schema-validator",
56 "json-schema-validation"
58 "author": "Evgeny Poberezkin",
61 "url": "https://github.com/ajv-validator/ajv/issues"
63 "homepage": "https://github.com/ajv-validator/ajv",
64 "tonicExampleFilename": ".tonic_example.js",
66 "fast-deep-equal": "^3.1.1",
67 "json-schema-traverse": "^1.0.0",
68 "require-from-string": "^2.0.2",
72 "@ajv-validator/config": "^0.3.0",
73 "@types/chai": "^4.2.12",
74 "@types/mocha": "^8.0.3",
75 "@types/node": "^14.0.27",
76 "@types/require-from-string": "^1.2.0",
77 "@typescript-eslint/eslint-plugin": "^3.8.0",
78 "@typescript-eslint/parser": "^3.8.0",
79 "@vuepress/shared-utils": "^1.8.2",
80 "ajv-formats": "^2.0.0",
81 "browserify": "^17.0.0",
83 "cross-env": "^7.0.2",
85 "dayjs-plugin-utc": "^0.1.2",
87 "eslint-config-prettier": "^7.0.0",
90 "if-node-version": "^1.0.0",
92 "js-beautify": "^1.7.3",
93 "json-schema-test": "^2.0.0",
95 "karma-chrome-launcher": "^3.0.0",
96 "karma-mocha": "^2.0.0",
97 "lint-staged": "^10.2.11",
99 "node-fetch": "^2.6.1",
101 "prettier": "^2.0.5",
105 "typescript": "^4.2.0",
109 "type": "opencollective",
110 "url": "https://opencollective.com/ajv"
114 "url": "https://github.com/sponsors/epoberezkin"
116 "prettier": "@ajv-validator/config/prettierrc.json",
119 "pre-commit": "lint-staged && npm test"
123 "*.{json,yaml,js,ts}": "prettier --write"