{
  "name": "@saasquatch/schema",
  "version": "2.1.0",
  "main": "types/index.js",
  "types": "index.d.ts",
  "repository": "git@github.com:saasquatch/schema.git",
  "author": "ReferralSaaSquatch.com, Inc.",
  "license": "MIT",
  "files": [
    "types/",
    "json/",
    "yaml/",
    "index.d.ts"
  ],
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "deploy": "np --no-cleanup --no-yarn --any-branch",
    "deploy:alpha": "np --no-cleanup --no-yarn --any-branch --tag=alpha",
    "version": "npm run generate && git add --all",
    "generate": "npm run validate:yaml && npm run generate:version && npm run generate:types && npm run generate:yaml",
    "generate:version": "cd compilers && ts-node Version.ts",
    "generate:types": "shx rm -Rf types && cd compilers && ts-node SchemaToTypescript.ts",
    "generate:yaml": "shx rm -Rf yaml && shx mkdir yaml && shx cp src/yaml/*.yaml yaml/",
    "validate:yaml": "swagger-cli validate src/yaml/saasquatch-api.yaml",
    "test": "npm run generate && ajv compile -s \"json/*.schema.json\" && jest",
    "jest": "jest"
  },
  "devDependencies": {
    "@apidevtools/json-schema-ref-parser": "^9.0.9",
    "@apidevtools/swagger-cli": "^4.0.4",
    "@types/glob": "^7.2.0",
    "@types/jest": "^27.4.1",
    "@types/json-schema": "^7.0.10",
    "@types/node": "^20.17.44",
    "ajv-cli": "^3.3.0",
    "ajv-formats": "^2.1.1",
    "glob": "^7.2.0",
    "jest": "^27.5.1",
    "json-schema-to-typescript-with-deps": "^0.0.1",
    "jsonata": "^1.8.6",
    "np": "^7.6.3",
    "shx": "^0.3.4",
    "ts-node": "^10.9.2",
    "typescript": "^4.6.2"
  },
  "jest": {
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js"
    ],
    "transform": {
      "^.+\\.(ts|tsx)$": "<rootDir>/preprocessor.js"
    },
    "testMatch": [
      "**/tests/*.(ts|tsx|js)"
    ]
  },
  "np": {
    "releaseDraft": false
  },
  "prettier": {}
}
