UNPKG

@sanity/codegen

Version:

Codegen toolkit for Sanity.io

117 lines 3.25 kB
{ "name": "@sanity/codegen", "version": "5.10.1", "description": "Codegen toolkit for Sanity.io", "keywords": [ "sanity", "cms", "headless", "realtime", "content", "codegen" ], "homepage": "https://www.sanity.io/", "bugs": { "url": "https://github.com/sanity-io/codegen/issues" }, "repository": { "type": "git", "url": "git+https://github.com/sanity-io/codegen.git" }, "license": "MIT", "author": "Sanity.io <hello@sanity.io>", "sideEffects": false, "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "source": "./src/_exports/index.ts", "default": "./dist/_exports/index.js" }, "./package.json": "./package.json" }, "main": "./dist/_exports/index.js", "types": "./dist/index.d.ts", "bin": { "sanity-typegen": "./bin/run.js" }, "files": [ "dist", "bin", "oclif.manifest.json", "oclif.config.js", "babel.config.json" ], "dependencies": { "@babel/core": "^7.28.6", "@babel/generator": "^7.28.6", "@babel/preset-env": "^7.28.6", "@babel/preset-react": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@babel/register": "^7.28.6", "@babel/traverse": "^7.28.6", "@babel/types": "^7.28.6", "@oclif/core": "^4.8.0", "@oclif/plugin-help": "^6.2.37", "@sanity/cli-core": "^0.1.0-alpha.15", "@sanity/worker-channels": "^1.1.0", "chokidar": "^3.6.0", "debug": "^4.4.3", "globby": "^11.1.0", "groq": "^5.11.0", "groq-js": "^1.27.1", "json5": "^2.2.3", "lodash-es": "^4.17.23", "prettier": "^3.8.1", "reselect": "^5.1.1", "tsconfig-paths": "^4.2.0", "zod": "^4.3.6" }, "devDependencies": { "@eslint/compat": "^2.0.1", "@microsoft/api-extractor": "^7.55.2", "@oclif/test": "^4.1.16", "@sanity/cli-test": "^0.0.2-alpha.14", "@sanity/eslint-config-cli": "0.0.0-alpha.2", "@sanity/telemetry": "^0.8.0", "@swc/cli": "^0.7.9", "@swc/core": "^1.15.8", "@types/babel__core": "^7.20.5", "@types/babel__generator": "^7.27.0", "@types/babel__register": "^7.17.3", "@types/babel__traverse": "^7.28.0", "@types/debug": "^4.1.12", "@types/lodash-es": "^4.17.12", "@types/node": "^20.19.28", "@vitest/coverage-istanbul": "^4.0.17", "eslint": "^9.39.2", "husky": "^9.1.7", "lint-staged": "^16.2.7", "oclif": "^4.22.79", "prettier-plugin-packagejson": "^2.5.20", "rimraf": "^5.0.10", "tinyglobby": "^0.2.15", "typescript": "^5.9.3", "vitest": "^4.0.17" }, "peerDependencies": { "@sanity/telemetry": "^0.8.0" }, "engines": { "node": ">=20.19 <22 || >=22.12" }, "publishConfig": { "access": "public" }, "scripts": { "build": "swc --delete-dir-on-start src -d dist --strip-leading-paths --ignore '**/__tests__/**' && pnpm run build:types", "postbuild": "oclif manifest", "build:api": "api-extractor run --local", "build:types": "tsc --project tsconfig.lib.json && pnpm run build:api && rimraf dist/__tmp__", "clean": "rimraf dist coverage", "lint": "eslint . --fix", "pretest": "pnpm build", "test": "vitest", "watch": "swc src -d dist --strip-leading-paths --watch" } }