package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "_from": "ajv@^7.0.3",
  3. "_id": "ajv@7.2.4",
  4. "_inBundle": false,
  5. "_integrity": "sha512-nBeQgg/ZZA3u3SYxyaDvpvDtgZ/EZPF547ARgZBrG9Bhu1vKDwAIjtIf+sDtJUKa2zOcEbmRLBRSyMraS/Oy1A==",
  6. "_location": "/ajv",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "ajv@^7.0.3",
  12. "name": "ajv",
  13. "escapedName": "ajv",
  14. "rawSpec": "^7.0.3",
  15. "saveSpec": null,
  16. "fetchSpec": "^7.0.3"
  17. },
  18. "_requiredBy": [
  19. "/ajv-formats",
  20. "/conf"
  21. ],
  22. "_resolved": "https://registry.npmmirror.com/ajv/-/ajv-7.2.4.tgz",
  23. "_shasum": "8e239d4d56cf884bccca8cca362f508446dc160f",
  24. "_spec": "ajv@^7.0.3",
  25. "_where": "/data/wwwroot/qimall/node/node_modules/conf",
  26. "author": {
  27. "name": "Evgeny Poberezkin"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/ajv-validator/ajv/issues"
  31. },
  32. "bundleDependencies": false,
  33. "collective": {
  34. "type": "opencollective",
  35. "url": "https://opencollective.com/ajv"
  36. },
  37. "dependencies": {
  38. "fast-deep-equal": "^3.1.1",
  39. "json-schema-traverse": "^1.0.0",
  40. "require-from-string": "^2.0.2",
  41. "uri-js": "^4.2.2"
  42. },
  43. "deprecated": false,
  44. "description": "Another JSON Schema Validator",
  45. "devDependencies": {
  46. "@ajv-validator/config": "^0.3.0",
  47. "@types/chai": "^4.2.12",
  48. "@types/mocha": "^8.0.3",
  49. "@types/node": "^14.0.27",
  50. "@types/require-from-string": "^1.2.0",
  51. "@typescript-eslint/eslint-plugin": "^3.8.0",
  52. "@typescript-eslint/parser": "^3.8.0",
  53. "@vuepress/shared-utils": "^1.8.2",
  54. "ajv-formats": "^1.5.0",
  55. "browserify": "^17.0.0",
  56. "chai": "^4.0.1",
  57. "cross-env": "^7.0.2",
  58. "eslint": "^7.8.1",
  59. "eslint-config-prettier": "^7.0.0",
  60. "glob": "^7.0.0",
  61. "husky": "^5.0.9",
  62. "if-node-version": "^1.0.0",
  63. "jimp": "^0.16.1",
  64. "js-beautify": "^1.7.3",
  65. "json-schema-test": "^2.0.0",
  66. "karma": "^5.0.0",
  67. "karma-chrome-launcher": "^3.0.0",
  68. "karma-mocha": "^2.0.0",
  69. "lint-staged": "^10.2.11",
  70. "mocha": "^8.0.1",
  71. "node-fetch": "^2.6.1",
  72. "nyc": "^15.0.0",
  73. "prettier": "^2.0.5",
  74. "terser": "^5.2.1",
  75. "ts-node": "^9.0.0",
  76. "tsify": "^5.0.2",
  77. "typescript": "^4.2.0",
  78. "vuepress": "^1.8.2"
  79. },
  80. "files": [
  81. "lib/",
  82. "dist/",
  83. "scripts/",
  84. ".tonic_example.js"
  85. ],
  86. "funding": {
  87. "type": "github",
  88. "url": "https://github.com/sponsors/epoberezkin"
  89. },
  90. "homepage": "https://github.com/ajv-validator/ajv",
  91. "husky": {
  92. "hooks": {
  93. "pre-commit": "lint-staged && npm test"
  94. }
  95. },
  96. "keywords": [
  97. "JSON",
  98. "schema",
  99. "validator",
  100. "validation",
  101. "jsonschema",
  102. "json-schema",
  103. "json-schema-validator",
  104. "json-schema-validation"
  105. ],
  106. "license": "MIT",
  107. "lint-staged": {
  108. "*.{json,yaml,js,ts}": "prettier --write"
  109. },
  110. "main": "dist/ajv.js",
  111. "name": "ajv",
  112. "nyc": {
  113. "exclude": [
  114. "**/spec/**",
  115. "node_modules"
  116. ],
  117. "reporter": [
  118. "lcov",
  119. "text-summary"
  120. ]
  121. },
  122. "prettier": "@ajv-validator/config/prettierrc.json",
  123. "repository": {
  124. "type": "git",
  125. "url": "git+https://github.com/ajv-validator/ajv.git"
  126. },
  127. "scripts": {
  128. "benchmark": "npm i && npm run build && npm link && cd ./benchmark && npm link ajv && npm i && node ./jtd",
  129. "build": "rm -rf dist && tsc && cp -r lib/refs dist && rm dist/refs/json-schema-2019-09/index.ts && rm dist/refs/jtd-schema.ts",
  130. "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",
  131. "docs:build": "./scripts/prepare-site && vuepress build docs",
  132. "docs:dev": "./scripts/prepare-site && vuepress dev docs",
  133. "eslint": "eslint \"lib/**/*.ts\" \"spec/**/*.*s\" scripts --ignore-pattern spec/JSON-Schema-Test-Suite",
  134. "json-tests": "rm -rf spec/_json/*.js && node scripts/jsontests",
  135. "prepublish": "npm run build",
  136. "prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
  137. "prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
  138. "test": "npm link && npm link ajv && npm run json-tests && npm run eslint && npm run test-cov",
  139. "test-all": "npm run test-cov && if-node-version 12 npm run test-browser",
  140. "test-browser": "rm -rf .browser && npm run bundle && scripts/prepare-tests && karma start",
  141. "test-ci": "AJV_FULL_TEST=true npm test",
  142. "test-codegen": "nyc cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register 'spec/codegen.spec.ts' -R spec",
  143. "test-cov": "nyc npm run test-spec",
  144. "test-debug": "npm run test-spec -- --inspect-brk",
  145. "test-karma": "karma start",
  146. "test-spec": "cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register \"spec/**/*.spec.{ts,js}\" -R dot -f \"\\$recursiveRef with no \\$recursiveAnchor in the initial target schema resource\" -i"
  147. },
  148. "tonicExampleFilename": ".tonic_example.js",
  149. "types": "dist/ajv.d.ts",
  150. "version": "7.2.4"
  151. }