{
  "name": "ricos-schema",
  "version": "10.102.0",
  "author": {
    "name": "Matan Harsat",
    "email": "matanha@wix.com"
  },
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/wix/ricos/issues"
  },
  "homepage": "https://github.com/wix/ricos/tree/master/packages/ricos-schema",
  "files": [
    "dist",
    "src/**/*.proto",
    "statics/*.json",
    "next",
    "legacy"
  ],
  "main": "dist/cjs/generated/stringEnums/wix/rich_content/v1/index.js",
  "module": "dist/esm/generated/stringEnums/wix/rich_content/v1/index.js",
  "types": "dist/types/generated/stringEnums/wix/rich_content/v1/index.d.ts",
  "scripts": {
    "build": "yarn clean && yarn collect-next-schema && yarn generate-next-types && yarn generate-next-docs && yarn generate-patterns && yarn generate-ai-schema && yarn buildCJS && yarn buildESM && yarn copy-schema",
    "buildCJS": "run -T tsc --skipLibCheck --module commonjs --outDir dist/cjs",
    "buildESM": "run -T tsc --skipLibCheck",
    "copy-schema": "run -T ts-node --compiler-options='{\"module\":\"commonJS\"}' src/copy-wix-ricos-schema.ts",
    "collect-next-schema": "run -T ts-node --compiler-options='{\"module\":\"nodenext\"}' src/next-schema/scripts/collectAllSchema.ts",
    "generate-next-types": "run -T ts-node --compiler-options='{\"module\":\"nodenext\"}' src/next-schema/scripts/jtdToTsScript.ts",
    "generate-next-docs": "run -T ts-node --compiler-options='{\"module\":\"nodenext\"}' src/next-schema/scripts/jtdToMdScript.ts",
    "generate-ai-schema": "run -T ts-node --compiler-options='{\"module\":\"nodenext\"}' src/next-schema/scripts/jtdToJsonSchemaScript.ts",
    "generate-patterns": "run -T ts-node --compiler-options='{\"module\":\"nodenext\"}' src/next-schema/scripts/extract-patterns-script.ts",
    "bun-gen": "bun src/next-schema/scripts/collectAllSchema.ts && bun src/next-schema/scripts/jtdToTsScript.ts && bun src/next-schema/scripts/jtdToMdScript.ts && bun src/next-schema/scripts/extract-patterns-script.ts && tsc --skipLibCheck",
    "clean": "rm -rf dist",
    "lint": "run -T eslint 'src/**/*.{js,jsx,ts,tsx,d.ts}'",
    "test": "run -T jest --verbose",
    "test:types": "run -T tsc --skipLibCheck --noEmit src/next-schema/test-against-proto.ts",
    "test:docs": "git diff --quiet ./ || { echo 'Detected uncommitted changes in ricos-schema after build - did you forget to rebuild localy?'; git diff ./; exit 1; }",
    "test:watchAll": "run -T jest --verbose --watchAll"
  },
  "unpkg": true,
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "sideEffects": [
    "*.css"
  ],
  "jest": {
    "maxWorkers": 7,
    "globals": {
      "NODE_ENV": "test"
    },
    "testMatch": [
      "**/?(*.)+(spec|test).+(ts|tsx|js)"
    ],
    "roots": [
      "<rootDir>/src"
    ],
    "transform": {
      "^.+\\.(ts|tsx)?$": "ts-jest"
    }
  },
  "dependencies": {
    "json-to-ast": "^2.1.0",
    "ts-is-present": "^1.1.1"
  },
  "devDependencies": {
    "@types/json-to-ast": "^2.1.4",
    "@wix/ricos-schema": "10.102.0",
    "prettier": "^2.5.1",
    "ts-morph": "^21.0.1"
  },
  "wix": {
    "artifact": {
      "groupId": "com.wixpress.ricos",
      "artifactId": "ricos-schema",
      "targets": {
        "static": false,
        "docker": false
      }
    },
    "validations": {
      "postBuild": [
        "lint",
        "test",
        "test:types",
        "test:docs"
      ]
    }
  },
  "falconPackageHash": "8c1a0a00815344aa1637ccdbe5041fc480542d47fc0ab136c11bcabe"
}