package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "ajv",
  3. "version": "4.11.8",
  4. "description": "Another JSON Schema Validator",
  5. "main": "lib/ajv.js",
  6. "webpack": "dist/ajv.bundle.js",
  7. "typings": "lib/ajv.d.ts",
  8. "files": [
  9. "lib/",
  10. "dist/",
  11. "scripts/",
  12. "LICENSE",
  13. ".tonic_example.js"
  14. ],
  15. "publishConfig": {
  16. "tag": "4.x"
  17. },
  18. "scripts": {
  19. "jshint": "jshint lib/*.js lib/**/*.js --exclude lib/dotjs/**/*",
  20. "eslint": "if-node-version \">=4\" eslint lib/*.js lib/compile/*.js spec scripts",
  21. "test-spec": "mocha spec/*.spec.js -R spec",
  22. "test-fast": "AJV_FAST_TEST=true npm run test-spec",
  23. "test-debug": "mocha spec/*.spec.js --debug-brk -R spec",
  24. "test-cov": "nyc npm run test-spec",
  25. "test-ts": "tsc --target ES5 --noImplicitAny lib/ajv.d.ts",
  26. "bundle": "node ./scripts/bundle.js . Ajv pure_getters",
  27. "bundle-regenerator": "node ./scripts/bundle.js regenerator",
  28. "bundle-nodent": "node ./scripts/bundle.js nodent",
  29. "bundle-all": "del-cli dist && npm run bundle && npm run bundle-regenerator && npm run bundle-nodent",
  30. "bundle-beautify": "node ./scripts/bundle.js js-beautify",
  31. "build": "del-cli lib/dotjs/*.js && node scripts/compile-dots.js",
  32. "test-karma": "karma start --single-run --browsers PhantomJS",
  33. "test-browser": "del-cli .browser && npm run bundle-all && scripts/prepare-tests && npm run test-karma",
  34. "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",
  35. "prepublish": "npm run build && npm run bundle-all",
  36. "watch": "watch 'npm run build' ./lib/dot"
  37. },
  38. "nyc": {
  39. "exclude": [
  40. "**/spec/**",
  41. "node_modules"
  42. ],
  43. "reporter": [
  44. "lcov",
  45. "text-summary"
  46. ]
  47. },
  48. "repository": {
  49. "type": "git",
  50. "url": "https://github.com/epoberezkin/ajv.git"
  51. },
  52. "keywords": [
  53. "JSON",
  54. "schema",
  55. "validator",
  56. "validation",
  57. "jsonschema",
  58. "json-schema",
  59. "json-schema-validator",
  60. "json-schema-validation"
  61. ],
  62. "author": "Evgeny Poberezkin",
  63. "license": "MIT",
  64. "bugs": {
  65. "url": "https://github.com/epoberezkin/ajv/issues"
  66. },
  67. "homepage": "https://github.com/epoberezkin/ajv",
  68. "tonicExampleFilename": ".tonic_example.js",
  69. "dependencies": {
  70. "co": "^4.6.0",
  71. "json-stable-stringify": "^1.0.1"
  72. },
  73. "devDependencies": {
  74. "bluebird": "^3.1.5",
  75. "brfs": "^1.4.3",
  76. "browserify": "^14.1.0",
  77. "chai": "^3.5.0",
  78. "coveralls": "^2.11.4",
  79. "del-cli": "^0.2.1",
  80. "dot": "^1.0.3",
  81. "eslint": "^3.2.2",
  82. "gh-pages-generator": "^0.2.0",
  83. "glob": "^7.0.0",
  84. "if-node-version": "^1.0.0",
  85. "js-beautify": "^1.5.6",
  86. "jshint": "^2.8.0",
  87. "json-schema-test": "^1.1.1",
  88. "karma": "^1.0.0",
  89. "karma-chrome-launcher": "^2.0.0",
  90. "karma-mocha": "^1.1.1",
  91. "karma-phantomjs-launcher": "^1.0.0",
  92. "karma-sauce-launcher": "^1.1.0",
  93. "mocha": "^3.0.0",
  94. "nodent": "^3.0.17",
  95. "nyc": "^10.0.0",
  96. "phantomjs-prebuilt": "^2.1.4",
  97. "pre-commit": "^1.1.1",
  98. "regenerator": "0.9.7",
  99. "require-globify": "^1.3.0",
  100. "typescript": "^2.0.3",
  101. "uglify-js": "^2.6.1",
  102. "watch": "^1.0.0"
  103. }
  104. }