package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@apidevtools/openapi-schemas",
  3. "version": "2.1.0",
  4. "description": "JSON Schemas for every version of the OpenAPI Specification",
  5. "keywords": [
  6. "openapi",
  7. "open-api",
  8. "swagger",
  9. "oas",
  10. "api",
  11. "rest",
  12. "json",
  13. "specification",
  14. "definition",
  15. "schema"
  16. ],
  17. "author": {
  18. "name": "James Messinger",
  19. "url": "https://jamesmessinger.com"
  20. },
  21. "license": "MIT",
  22. "homepage": "https://apitools.dev/openapi-schemas",
  23. "repository": {
  24. "type": "git",
  25. "url": "https://github.com/APIDevTools/openapi-schemas.git"
  26. },
  27. "main": "lib/index.js",
  28. "types": "lib/index.d.ts",
  29. "files": [
  30. "lib",
  31. "schemas"
  32. ],
  33. "scripts": {
  34. "clean": "shx rm -rf .nyc_output coverage lib .tmp schemas",
  35. "clone": "git clone https://github.com/OAI/OpenAPI-Specification.git .tmp",
  36. "copy": "shx cp -r .tmp/schemas schemas",
  37. "lint": "eslint src test",
  38. "build": "npm run build:schemas && npm run build:typescript",
  39. "build:schemas": "npm run clean && npm run clone && npm run copy",
  40. "build:typescript": "tsc",
  41. "watch": "tsc --watch",
  42. "test": "mocha && npm run lint",
  43. "coverage": "nyc node_modules/mocha/bin/mocha",
  44. "upgrade": "npm-check -u && npm audit fix",
  45. "bump": "bump --tag --push --all",
  46. "release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump"
  47. },
  48. "engines": {
  49. "node": ">=10"
  50. },
  51. "devDependencies": {
  52. "@jsdevtools/eslint-config": "^1.1.4",
  53. "@jsdevtools/version-bump-prompt": "^6.1.0",
  54. "@types/chai": "^4.2.17",
  55. "@types/command-line-args": "^5.0.0",
  56. "@types/mocha": "^8.2.2",
  57. "@types/node": "^15.0.1",
  58. "chai": "^4.3.4",
  59. "eslint": "^7.25.0",
  60. "mocha": "^8.3.2",
  61. "npm-check": "^5.9.2",
  62. "nyc": "^15.1.0",
  63. "shx": "^0.3.3",
  64. "typescript": "^4.2.4"
  65. }
  66. }