package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "ajv",
  3. "version": "6.5.0",
  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/*.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",
  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": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters",
  23. "bundle-beautify": "node ./scripts/bundle.js js-beautify",
  24. "build": "del-cli lib/dotjs/*.js '!lib/dotjs/index.js' && node scripts/compile-dots.js",
  25. "test-karma": "karma start --single-run --browsers PhantomJS",
  26. "test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma",
  27. "test": "npm run jshint && npm run eslint && npm run test-ts && npm run build && npm run test-cov && if-node-version 8 npm run test-browser",
  28. "prepublish": "npm run build && npm run bundle",
  29. "watch": "watch 'npm run build' ./lib/dot"
  30. },
  31. "nyc": {
  32. "exclude": [
  33. "**/spec/**",
  34. "node_modules"
  35. ],
  36. "reporter": [
  37. "lcov",
  38. "text-summary"
  39. ]
  40. },
  41. "repository": {
  42. "type": "git",
  43. "url": "https://github.com/epoberezkin/ajv.git"
  44. },
  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": {
  58. "url": "https://github.com/epoberezkin/ajv/issues"
  59. },
  60. "homepage": "https://github.com/epoberezkin/ajv",
  61. "tonicExampleFilename": ".tonic_example.js",
  62. "dependencies": {
  63. "fast-deep-equal": "^2.0.1",
  64. "fast-json-stable-stringify": "^2.0.0",
  65. "json-schema-traverse": "^0.3.0",
  66. "uri-js": "^4.2.1"
  67. },
  68. "devDependencies": {
  69. "ajv-async": "^1.0.0",
  70. "bluebird": "^3.1.5",
  71. "brfs": "^1.6.1",
  72. "browserify": "^16.2.0",
  73. "chai": "^4.0.1",
  74. "coveralls": "^3.0.1",
  75. "del-cli": "^1.1.0",
  76. "dot": "^1.0.3",
  77. "eslint": "^4.14.0",
  78. "gh-pages-generator": "^0.2.3",
  79. "glob": "^7.0.0",
  80. "if-node-version": "^1.0.0",
  81. "js-beautify": "^1.7.3",
  82. "jshint": "^2.9.4",
  83. "json-schema-test": "^2.0.0",
  84. "karma": "^2.0.2",
  85. "karma-chrome-launcher": "^2.0.0",
  86. "karma-mocha": "^1.1.1",
  87. "karma-phantomjs-launcher": "^1.0.0",
  88. "karma-sauce-launcher": "^1.1.0",
  89. "mocha": "^5.1.1",
  90. "nyc": "^11.7.1",
  91. "phantomjs-prebuilt": "^2.1.4",
  92. "pre-commit": "^1.1.1",
  93. "require-globify": "^1.3.0",
  94. "typescript": "^2.8.3",
  95. "uglify-js": "^3.3.24",
  96. "watch": "^1.0.0"
  97. }
  98. }