package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "ajv",
  3. "version": "6.12.6",
  4. "description": "Another JSON Schema Validator",
  5. "main": "lib/ajv.js",
  6. "typings": "lib/ajv.d.ts",
  7. "files": [
  8. "lib/",
  9. "dist/",
  10. "scripts/",
  11. "LICENSE",
  12. ".tonic_example.js"
  13. ],
  14. "scripts": {
  15. "eslint": "eslint lib/{compile/,}*.js spec/{**/,}*.js scripts --ignore-pattern spec/JSON-Schema-Test-Suite",
  16. "jshint": "jshint lib/{compile/,}*.js",
  17. "lint": "npm run jshint && npm run eslint",
  18. "test-spec": "mocha spec/{**/,}*.spec.js -R spec",
  19. "test-fast": "AJV_FAST_TEST=true npm run test-spec",
  20. "test-debug": "npm run test-spec -- --inspect-brk",
  21. "test-cov": "nyc npm run test-spec",
  22. "test-ts": "tsc --target ES5 --noImplicitAny --noEmit spec/typescript/index.ts",
  23. "bundle": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters",
  24. "bundle-beautify": "node ./scripts/bundle.js js-beautify",
  25. "build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js",
  26. "test-karma": "karma start",
  27. "test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma",
  28. "test-all": "npm run test-cov && if-node-version 10 npm run test-browser",
  29. "test": "npm run lint && npm run build && npm run test-all",
  30. "prepublish": "npm run build && npm run bundle",
  31. "watch": "watch \"npm run build\" ./lib/dot"
  32. },
  33. "nyc": {
  34. "exclude": [
  35. "**/spec/**",
  36. "node_modules"
  37. ],
  38. "reporter": [
  39. "lcov",
  40. "text-summary"
  41. ]
  42. },
  43. "repository": {
  44. "type": "git",
  45. "url": "https://github.com/ajv-validator/ajv.git"
  46. },
  47. "keywords": [
  48. "JSON",
  49. "schema",
  50. "validator",
  51. "validation",
  52. "jsonschema",
  53. "json-schema",
  54. "json-schema-validator",
  55. "json-schema-validation"
  56. ],
  57. "author": "Evgeny Poberezkin",
  58. "license": "MIT",
  59. "bugs": {
  60. "url": "https://github.com/ajv-validator/ajv/issues"
  61. },
  62. "homepage": "https://github.com/ajv-validator/ajv",
  63. "tonicExampleFilename": ".tonic_example.js",
  64. "dependencies": {
  65. "fast-deep-equal": "^3.1.1",
  66. "fast-json-stable-stringify": "^2.0.0",
  67. "json-schema-traverse": "^0.4.1",
  68. "uri-js": "^4.2.2"
  69. },
  70. "devDependencies": {
  71. "ajv-async": "^1.0.0",
  72. "bluebird": "^3.5.3",
  73. "brfs": "^2.0.0",
  74. "browserify": "^16.2.0",
  75. "chai": "^4.0.1",
  76. "coveralls": "^3.0.1",
  77. "del-cli": "^3.0.0",
  78. "dot": "^1.0.3",
  79. "eslint": "^7.3.1",
  80. "gh-pages-generator": "^0.2.3",
  81. "glob": "^7.0.0",
  82. "if-node-version": "^1.0.0",
  83. "js-beautify": "^1.7.3",
  84. "jshint": "^2.10.2",
  85. "json-schema-test": "^2.0.0",
  86. "karma": "^5.0.0",
  87. "karma-chrome-launcher": "^3.0.0",
  88. "karma-mocha": "^2.0.0",
  89. "karma-sauce-launcher": "^4.1.3",
  90. "mocha": "^8.0.1",
  91. "nyc": "^15.0.0",
  92. "pre-commit": "^1.1.1",
  93. "require-globify": "^1.3.0",
  94. "typescript": "^3.9.5",
  95. "uglify-js": "^3.6.9",
  96. "watch": "^1.0.0"
  97. },
  98. "collective": {
  99. "type": "opencollective",
  100. "url": "https://opencollective.com/ajv"
  101. },
  102. "funding": {
  103. "type": "github",
  104. "url": "https://github.com/sponsors/epoberezkin"
  105. }
  106. }