package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "ajv-errors",
  3. "version": "1.0.1",
  4. "description": "Custom error messages in JSON-Schema for Ajv validator",
  5. "main": "index.js",
  6. "files": [
  7. "lib"
  8. ],
  9. "scripts": {
  10. "build": "node node_modules/ajv/scripts/compile-dots.js node_modules/ajv/lib lib",
  11. "eslint": "eslint *.js spec",
  12. "test-spec": "mocha spec/*.spec.js -R spec",
  13. "test-cov": "nyc npm run test-spec",
  14. "test": "npm run eslint && npm run build && npm run test-cov",
  15. "prepublish": "npm run build"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/epoberezkin/ajv-errors.git"
  20. },
  21. "keywords": [
  22. "ajv",
  23. "json-schema",
  24. "validator",
  25. "error",
  26. "messages"
  27. ],
  28. "author": "",
  29. "license": "MIT",
  30. "bugs": {
  31. "url": "https://github.com/epoberezkin/ajv-errors/issues"
  32. },
  33. "homepage": "https://github.com/epoberezkin/ajv-errors#readme",
  34. "peerDependencies": {
  35. "ajv": ">=5.0.0"
  36. },
  37. "devDependencies": {
  38. "ajv": "^5.0.0",
  39. "coveralls": "^2.11.16",
  40. "dot": "^1.1.1",
  41. "eslint": "^3.17.0",
  42. "glob": "^7.1.1",
  43. "js-beautify": "^1.6.12",
  44. "mocha": "^3.2.0",
  45. "nyc": "^10.1.2",
  46. "pre-commit": "^1.2.2"
  47. },
  48. "nyc": {
  49. "exclude": [
  50. "**/spec/**",
  51. "node_modules"
  52. ],
  53. "reporter": [
  54. "lcov",
  55. "text-summary"
  56. ]
  57. }
  58. }