1 | {
|
---|
2 | "name": "ajv",
|
---|
3 | "version": "8.6.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\" scripts --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 -g \\(.recursiveRef.with.no..recursiveAnchor\\|.dynamicRef.with.no..dynamicAnchor\\).in.the.initial.target.schema.resource -i",
|
---|
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 | "bundle": "rm -rf bundle && rollup -c",
|
---|
21 | "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",
|
---|
22 | "json-tests": "rm -rf spec/_json/*.js && node scripts/jsontests",
|
---|
23 | "test-karma": "karma start",
|
---|
24 | "test-browser": "rm -rf .browser && npm run bundle && scripts/prepare-tests && karma start",
|
---|
25 | "test-all": "npm run test-cov && if-node-version 12 npm run test-browser",
|
---|
26 | "test": "npm run json-tests && npm run prettier:check && npm run eslint && npm link && npm link ajv && npm run test-cov",
|
---|
27 | "test-ci": "AJV_FULL_TEST=true npm test",
|
---|
28 | "prepublish": "npm run build",
|
---|
29 | "benchmark": "npm i && npm run build && npm link && cd ./benchmark && npm link ajv && npm i && node ./jtd",
|
---|
30 | "docs:dev": "./scripts/prepare-site && vuepress dev docs",
|
---|
31 | "docs:build": "./scripts/prepare-site && vuepress build docs"
|
---|
32 | },
|
---|
33 | "nyc": {
|
---|
34 | "exclude": [
|
---|
35 | "**/spec/**",
|
---|
36 | "node_modules"
|
---|
37 | ],
|
---|
38 | "reporter": [
|
---|
39 | "lcov",
|
---|
40 | "text-summary"
|
---|
41 | ]
|
---|
42 | },
|
---|
43 | "repository": "ajv-validator/ajv",
|
---|
44 | "keywords": [
|
---|
45 | "JSON",
|
---|
46 | "schema",
|
---|
47 | "validator",
|
---|
48 | "validation",
|
---|
49 | "jsonschema",
|
---|
50 | "json-schema",
|
---|
51 | "json-schema-validator",
|
---|
52 | "json-schema-validation"
|
---|
53 | ],
|
---|
54 | "author": "Evgeny Poberezkin",
|
---|
55 | "license": "MIT",
|
---|
56 | "bugs": "https://github.com/ajv-validator/ajv/issues",
|
---|
57 | "homepage": "https://ajv.js.org",
|
---|
58 | "runkitExampleFilename": ".runkit_example.js",
|
---|
59 | "dependencies": {
|
---|
60 | "fast-deep-equal": "^3.1.1",
|
---|
61 | "json-schema-traverse": "^1.0.0",
|
---|
62 | "require-from-string": "^2.0.2",
|
---|
63 | "uri-js": "^4.2.2"
|
---|
64 | },
|
---|
65 | "devDependencies": {
|
---|
66 | "@ajv-validator/config": "^0.3.0",
|
---|
67 | "@rollup/plugin-commonjs": "^19.0.0",
|
---|
68 | "@rollup/plugin-json": "^4.1.0",
|
---|
69 | "@rollup/plugin-node-resolve": "^13.0.0",
|
---|
70 | "@rollup/plugin-typescript": "^8.2.1",
|
---|
71 | "@types/chai": "^4.2.12",
|
---|
72 | "@types/mocha": "^8.0.3",
|
---|
73 | "@types/node": "^16.3.2",
|
---|
74 | "@types/require-from-string": "^1.2.0",
|
---|
75 | "@typescript-eslint/eslint-plugin": "^3.8.0",
|
---|
76 | "@typescript-eslint/parser": "^3.8.0",
|
---|
77 | "@vuepress/shared-utils": "^1.8.2",
|
---|
78 | "ajv-formats": "^2.0.0",
|
---|
79 | "chai": "^4.0.1",
|
---|
80 | "cross-env": "^7.0.2",
|
---|
81 | "dayjs": "^1.10.4",
|
---|
82 | "dayjs-plugin-utc": "^0.1.2",
|
---|
83 | "eslint": "^7.8.1",
|
---|
84 | "eslint-config-prettier": "^7.0.0",
|
---|
85 | "glob": "^7.0.0",
|
---|
86 | "husky": "^7.0.1",
|
---|
87 | "if-node-version": "^1.0.0",
|
---|
88 | "jimp": "^0.16.1",
|
---|
89 | "js-beautify": "^1.7.3",
|
---|
90 | "json-schema-test": "^2.0.0",
|
---|
91 | "karma": "^6.0.0",
|
---|
92 | "karma-chrome-launcher": "^3.0.0",
|
---|
93 | "karma-mocha": "^2.0.0",
|
---|
94 | "lint-staged": "^11.0.0",
|
---|
95 | "mocha": "^8.0.1",
|
---|
96 | "node-fetch": "^2.6.1",
|
---|
97 | "nyc": "^15.0.0",
|
---|
98 | "prettier": "^2.3.1",
|
---|
99 | "rollup": "^2.44.0",
|
---|
100 | "rollup-plugin-terser": "^7.0.2",
|
---|
101 | "ts-node": "^10.0.0",
|
---|
102 | "tsify": "^5.0.2",
|
---|
103 | "typescript": "^4.2.0",
|
---|
104 | "vuepress": "^1.8.2"
|
---|
105 | },
|
---|
106 | "collective": {
|
---|
107 | "type": "opencollective",
|
---|
108 | "url": "https://opencollective.com/ajv"
|
---|
109 | },
|
---|
110 | "funding": {
|
---|
111 | "type": "github",
|
---|
112 | "url": "https://github.com/sponsors/epoberezkin"
|
---|
113 | },
|
---|
114 | "prettier": "@ajv-validator/config/prettierrc.json",
|
---|
115 | "husky": {
|
---|
116 | "hooks": {
|
---|
117 | "pre-commit": "lint-staged && npm test"
|
---|
118 | }
|
---|
119 | },
|
---|
120 | "lint-staged": {
|
---|
121 | "*.{json,yaml,js,ts}": "prettier --write"
|
---|
122 | }
|
---|
123 | }
|
---|