package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "ajv",
  3. "version": "5.0.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": "if-node-version \">=4\" eslint lib/*.js lib/compile/*.js spec scripts",
  16. "test-spec": "mocha spec/*.spec.js -R spec $(if-node-version 7 echo --harmony-async-await)",
  17. "test-fast": "AJV_FAST_TEST=true npm run test-spec",
  18. "test-debug": "mocha spec/*.spec.js --debug-brk -R spec",
  19. "test-cov": "nyc npm run test-spec",
  20. "test-ts": "tsc --target ES5 --noImplicitAny lib/ajv.d.ts",
  21. "bundle": "node ./scripts/bundle.js . Ajv pure_getters",
  22. "bundle-regenerator": "node ./scripts/bundle.js regenerator",
  23. "bundle-nodent": "node ./scripts/bundle.js nodent",
  24. "bundle-all": "del-cli dist && npm run bundle && npm run bundle-regenerator && npm run bundle-nodent",
  25. "bundle-beautify": "node ./scripts/bundle.js js-beautify",
  26. "build": "del-cli lib/dotjs/*.js && node scripts/compile-dots.js",
  27. "test-karma": "karma start --single-run --browsers PhantomJS",
  28. "test-browser": "del-cli .browser && npm run bundle-all && scripts/prepare-tests && npm run test-karma",
  29. "test": "npm run eslint && npm run test-ts && npm run build && npm run test-cov && if-node-version 4 npm run test-browser",
  30. "prepublish": "npm run build && npm run bundle-all",
  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/epoberezkin/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/epoberezkin/ajv/issues"
  61. },
  62. "homepage": "https://github.com/epoberezkin/ajv",
  63. "tonicExampleFilename": ".tonic_example.js",
  64. "dependencies": {
  65. "co": "^4.6.0",
  66. "json-stable-stringify": "^1.0.1"
  67. },
  68. "devDependencies": {
  69. "ajv-async": "^0.1.0",
  70. "bluebird": "^3.1.5",
  71. "brfs": "^1.4.3",
  72. "browserify": "^14.1.0",
  73. "chai": "^3.5.0",
  74. "coveralls": "^2.11.4",
  75. "del-cli": "^0.2.1",
  76. "dot": "^1.0.3",
  77. "eslint": "^3.2.2",
  78. "gh-pages-generator": "^0.2.0",
  79. "glob": "^7.0.0",
  80. "if-node-version": "^1.0.0",
  81. "js-beautify": "^1.5.6",
  82. "json-schema-test": "^1.3.0",
  83. "karma": "^1.0.0",
  84. "karma-chrome-launcher": "^2.0.0",
  85. "karma-mocha": "^1.1.1",
  86. "karma-phantomjs-launcher": "^1.0.0",
  87. "karma-sauce-launcher": "^1.1.0",
  88. "mocha": "^3.0.0",
  89. "nodent": "^3.0.17",
  90. "nyc": "^10.0.0",
  91. "phantomjs-prebuilt": "^2.1.4",
  92. "pre-commit": "^1.1.1",
  93. "regenerator": "0.9.7",
  94. "require-globify": "^1.3.0",
  95. "typescript": "^2.0.3",
  96. "uglify-js": "2.6.1",
  97. "watch": "^1.0.0"
  98. }
  99. }