package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "ajv",
  3. "version": "5.5.2",
  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": "if-node-version \">=4\" eslint lib/*.js lib/compile/*.js spec/*.js scripts",
  16. "jshint": "jshint lib/*.js lib/**/*.js --exclude lib/dotjs/**/*",
  17. "test-spec": "mocha spec/*.spec.js -R spec $(if-node-version 7 echo --harmony-async-await)",
  18. "test-fast": "AJV_FAST_TEST=true npm run test-spec",
  19. "test-debug": "mocha spec/*.spec.js --debug-brk -R spec",
  20. "test-cov": "nyc npm run test-spec",
  21. "test-ts": "tsc --target ES5 --noImplicitAny lib/ajv.d.ts",
  22. "bundle": "node ./scripts/bundle.js . Ajv pure_getters",
  23. "bundle-regenerator": "node ./scripts/bundle.js regenerator",
  24. "bundle-nodent": "node ./scripts/bundle.js nodent",
  25. "bundle-all": "del-cli dist && npm run bundle && npm run bundle-regenerator && npm run bundle-nodent",
  26. "bundle-beautify": "node ./scripts/bundle.js js-beautify",
  27. "build": "del-cli lib/dotjs/*.js && node scripts/compile-dots.js",
  28. "test-karma": "karma start --single-run --browsers PhantomJS",
  29. "test-browser": "del-cli .browser && npm run bundle-all && scripts/prepare-tests && npm run test-karma",
  30. "test": "npm run jshint && npm run eslint && npm run test-ts && npm run build && npm run test-cov && if-node-version 4 npm run test-browser",
  31. "prepublish": "npm run build && npm run bundle-all",
  32. "watch": "watch 'npm run build' ./lib/dot"
  33. },
  34. "nyc": {
  35. "exclude": [
  36. "**/spec/**",
  37. "node_modules"
  38. ],
  39. "reporter": [
  40. "lcov",
  41. "text-summary"
  42. ]
  43. },
  44. "repository": {
  45. "type": "git",
  46. "url": "https://github.com/epoberezkin/ajv.git"
  47. },
  48. "keywords": [
  49. "JSON",
  50. "schema",
  51. "validator",
  52. "validation",
  53. "jsonschema",
  54. "json-schema",
  55. "json-schema-validator",
  56. "json-schema-validation"
  57. ],
  58. "author": "Evgeny Poberezkin",
  59. "license": "MIT",
  60. "bugs": {
  61. "url": "https://github.com/epoberezkin/ajv/issues"
  62. },
  63. "homepage": "https://github.com/epoberezkin/ajv",
  64. "tonicExampleFilename": ".tonic_example.js",
  65. "dependencies": {
  66. "co": "^4.6.0",
  67. "fast-deep-equal": "^1.0.0",
  68. "fast-json-stable-stringify": "^2.0.0",
  69. "json-schema-traverse": "^0.3.0"
  70. },
  71. "devDependencies": {
  72. "ajv-async": "^0.1.0",
  73. "bluebird": "^3.1.5",
  74. "brfs": "^1.4.3",
  75. "browserify": "^14.1.0",
  76. "chai": "^4.0.1",
  77. "coveralls": "^3.0.0",
  78. "del-cli": "^1.1.0",
  79. "dot": "^1.0.3",
  80. "eslint": "^4.1.0",
  81. "gh-pages-generator": "^0.2.0",
  82. "glob": "^7.0.0",
  83. "if-node-version": "^1.0.0",
  84. "js-beautify": "^1.7.3",
  85. "jshint": "^2.9.4",
  86. "json-schema-test": "^2.0.0",
  87. "karma": "^1.0.0",
  88. "karma-chrome-launcher": "^2.0.0",
  89. "karma-mocha": "^1.1.1",
  90. "karma-phantomjs-launcher": "^1.0.0",
  91. "karma-sauce-launcher": "^1.1.0",
  92. "mocha": "^4.0.0",
  93. "nodent": "^3.0.17",
  94. "nyc": "^11.0.2",
  95. "phantomjs-prebuilt": "^2.1.4",
  96. "pre-commit": "^1.1.1",
  97. "regenerator": "^0.12.2",
  98. "require-globify": "^1.3.0",
  99. "typescript": "^2.6.2",
  100. "uglify-js": "^3.1.5",
  101. "watch": "^1.0.0"
  102. },
  103. "__npminstall_done": "Thu Dec 24 2020 20:21:00 GMT+0800 (CST)",
  104. "_from": "ajv@5.5.2",
  105. "_resolved": "https://registry.npm.taobao.org/ajv/download/ajv-5.5.2.tgz?cache=0&sync_timestamp=1608401620122&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fajv%2Fdownload%2Fajv-5.5.2.tgz"
  106. }