package.json
1 { 2 "name": "ajv", 3 "version": "8.8.2", 4 "description": "Another JSON Schema Validator", 5 "main": "dist/ajv.js", 6 "types": "dist/ajv.d.ts", 7 "files": [ 8 "lib/", 9 "dist/", 10 ".runkit_example.js" 11 ], 12 "scripts": { 13 "eslint": "eslint \"lib/**/*.ts\" \"spec/**/*.*s\" --ignore-pattern spec/JSON-Schema-Test-Suite", 14 "prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"", 15 "prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"", 16 "test-spec": "cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register \"spec/**/*.spec.{ts,js}\" -R dot", 17 "test-codegen": "nyc cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register 'spec/codegen.spec.ts' -R spec", 18 "test-debug": "npm run test-spec -- --inspect-brk", 19 "test-cov": "nyc npm run test-spec", 20 "rollup": "rm -rf bundle && rollup -c", 21 "bundle": "rm -rf bundle && node ./scripts/bundle.js ajv ajv7 ajv7 && node ./scripts/bundle.js 2019 ajv2019 ajv2019 && node ./scripts/bundle.js 2020 ajv2020 ajv2020 && 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 --legacy-peer-deps 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 --legacy-peer-deps ajv && npm i && node ./jtd", 31 "docs:dev": "./scripts/prepare-site && vuepress dev docs", 32 "docs:build": "./scripts/prepare-site && vuepress build docs" 33 }, 34 "nyc": { 35 "exclude": [ 36 "**/spec/**", 37 "node_modules" 38 ], 39 "reporter": [ 40 "lcov", 41 "text-summary" 42 ] 43 }, 44 "repository": "ajv-validator/ajv", 45 "keywords": [ 46 "JSON", 47 "schema", 48 "validator", 49 "validation", 50 "jsonschema", 51 "json-schema", 52 "json-schema-validator", 53 "json-schema-validation" 54 ], 55 "author": "Evgeny Poberezkin", 56 "license": "MIT", 57 "bugs": "https://github.com/ajv-validator/ajv/issues", 58 "homepage": "https://ajv.js.org", 59 "runkitExampleFilename": ".runkit_example.js", 60 "dependencies": { 61 "fast-deep-equal": "^3.1.1", 62 "json-schema-traverse": "^1.0.0", 63 "require-from-string": "^2.0.2", 64 "uri-js": "^4.2.2" 65 }, 66 "devDependencies": { 67 "@ajv-validator/config": "^0.3.0", 68 "@rollup/plugin-commonjs": "^21.0.0", 69 "@rollup/plugin-json": "^4.1.0", 70 "@rollup/plugin-node-resolve": "^13.0.0", 71 "@rollup/plugin-typescript": "^8.2.1", 72 "@types/chai": "^4.2.12", 73 "@types/mocha": "^9.0.0", 74 "@types/node": "^16.3.2", 75 "@types/require-from-string": "^1.2.0", 76 "@typescript-eslint/eslint-plugin": "^3.8.0", 77 "@typescript-eslint/parser": "^3.8.0", 78 "ajv-formats": "^3.0.0-rc.0", 79 "browserify": "^17.0.0", 80 "chai": "^4.0.1", 81 "cross-env": "^7.0.2", 82 "dayjs": "^1.10.4", 83 "dayjs-plugin-utc": "^0.1.2", 84 "eslint": "^7.8.1", 85 "eslint-config-prettier": "^7.0.0", 86 "glob": "^7.0.0", 87 "husky": "^7.0.1", 88 "if-node-version": "^1.0.0", 89 "jimp": "^0.16.1", 90 "js-beautify": "^1.7.3", 91 "json-schema-test": "^2.0.0", 92 "karma": "^6.0.0", 93 "karma-chrome-launcher": "^3.0.0", 94 "karma-mocha": "^2.0.0", 95 "lint-staged": "^11.0.0", 96 "mocha": "^9.0.2", 97 "node-fetch": "^3.0.0", 98 "nyc": "^15.0.0", 99 "prettier": "^2.3.1", 100 "re2": "^1.16.0", 101 "rollup": "^2.44.0", 102 "rollup-plugin-terser": "^7.0.2", 103 "ts-node": "^10.0.0", 104 "tsify": "^5.0.2", 105 "typescript": "^4.2.0" 106 }, 107 "collective": { 108 "type": "opencollective", 109 "url": "https://opencollective.com/ajv" 110 }, 111 "funding": { 112 "type": "github", 113 "url": "https://github.com/sponsors/epoberezkin" 114 }, 115 "prettier": "@ajv-validator/config/prettierrc.json", 116 "husky": { 117 "hooks": { 118 "pre-commit": "lint-staged && npm test" 119 } 120 }, 121 "lint-staged": { 122 "*.{json,yaml,js,ts}": "prettier --write" 123 } 124 }