package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "ajv-keywords",
  3. "version": "5.1.0",
  4. "description": "Additional JSON-Schema keywords for Ajv JSON validator",
  5. "main": "dist/index.js",
  6. "types": "dist/index.d.ts",
  7. "scripts": {
  8. "build": "rm -rf dist && tsc",
  9. "prepublish": "npm run build",
  10. "prettier:write": "prettier --write \"./**/*.{md,json,yaml,js,ts}\"",
  11. "prettier:check": "prettier --list-different \"./**/*.{md,json,yaml,js,ts}\"",
  12. "test": "npm link && npm link ajv-keywords && npm run eslint && npm run test-cov",
  13. "eslint": "eslint \"src/**/*.*s\" \"spec/**/*.*s\"",
  14. "test-spec": "jest spec/*.ts",
  15. "test-cov": "jest spec/*.ts --coverage"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/epoberezkin/ajv-keywords.git"
  20. },
  21. "keywords": [
  22. "JSON-Schema",
  23. "ajv",
  24. "keywords"
  25. ],
  26. "files": [
  27. "src",
  28. "dist",
  29. "ajv-keywords.d.ts"
  30. ],
  31. "author": "Evgeny Poberezkin",
  32. "license": "MIT",
  33. "bugs": {
  34. "url": "https://github.com/epoberezkin/ajv-keywords/issues"
  35. },
  36. "homepage": "https://github.com/epoberezkin/ajv-keywords#readme",
  37. "dependencies": {
  38. "fast-deep-equal": "^3.1.3"
  39. },
  40. "peerDependencies": {
  41. "ajv": "^8.8.2"
  42. },
  43. "devDependencies": {
  44. "@ajv-validator/config": "^0.2.3",
  45. "@types/chai": "^4.2.14",
  46. "@types/jest": "^26.0.14",
  47. "@types/node": "^16.4.10",
  48. "@types/uuid": "^8.3.0",
  49. "@typescript-eslint/eslint-plugin": "^4.4.1",
  50. "@typescript-eslint/parser": "^4.4.1",
  51. "ajv": "^8.8.2",
  52. "ajv-formats": "^2.0.0",
  53. "chai": "^4.2.0",
  54. "eslint": "^7.2.0",
  55. "eslint-config-prettier": "^7.0.0",
  56. "husky": "^7.0.1",
  57. "jest": "^26.5.3",
  58. "json-schema-test": "^2.0.0",
  59. "lint-staged": "^11.1.1",
  60. "prettier": "^2.1.2",
  61. "ts-jest": "^26.4.1",
  62. "typescript": "^4.2.0",
  63. "uuid": "^8.1.0"
  64. },
  65. "prettier": "@ajv-validator/config/prettierrc.json",
  66. "husky": {
  67. "hooks": {
  68. "pre-commit": "lint-staged && npm test"
  69. }
  70. },
  71. "lint-staged": {
  72. "*.{md,json,yaml,js,ts}": "prettier --write"
  73. }
  74. }