-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.91 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@sanity/codegen",
"version": "8.0.0",
"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 <[email protected]>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"source": "./src/_exports/index.ts",
"default": "./dist/_exports/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/_exports/index.js",
"types": "./dist/_exports/index.d.ts",
"files": [
"dist",
"babel.config.json"
],
"scripts": {
"build": "swc --delete-dir-on-start src -d dist --strip-leading-paths --ignore '**/__tests__/**' && pnpm run build:types",
"build:types": "pkg-utils build --emitDeclarationOnly",
"clean": "rimraf dist coverage",
"lint": "eslint . --fix",
"prepare": "husky",
"prepublishOnly": "pnpm build",
"pretest": "pnpm build",
"test": "vitest",
"watch": "swc src -d dist --strip-leading-paths --watch"
},
"dependencies": {
"@babel/core": "^7.29.7",
"@babel/generator": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-react": "^7.29.7",
"@babel/preset-typescript": "^7.29.7",
"@babel/register": "^7.29.7",
"@babel/traverse": "^7.29.7",
"@babel/types": "^7.29.7",
"@sanity/telemetry": "^1.1.0",
"@sanity/worker-channels": "^2.0.0",
"chokidar": "^3.6.0",
"debug": "^4.4.3",
"globby": "^11.1.0",
"groq": "^6.0.0",
"groq-js": "^2.0.0",
"json5": "^2.2.3",
"lodash-es": "^4.18.1",
"prettier": "^3.8.3",
"reselect": "^5.2.0",
"tsconfig-paths": "^4.2.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@eslint/compat": "^2.1.0",
"@sanity/eslint-config-cli": "^1.1.2",
"@sanity/pkg-utils": "^10.5.5",
"@swc/cli": "^0.8.1",
"@swc/core": "^1.15.40",
"@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.13",
"@types/lodash-es": "^4.17.12",
"@types/node": "^24.13.0",
"@vitest/coverage-istanbul": "^4.1.8",
"eslint": "^9.39.4",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"oxfmt": "^0.53.0",
"pkg-pr-new": "^0.0.75",
"prettier-plugin-packagejson": "^3.0.2",
"rimraf": "^5.0.10",
"tinyglobby": "^0.2.17",
"typescript": "^5.9.3",
"vite": "^8.0.16",
"vitest": "^4.1.8"
},
"peerDependencies": {
"oxfmt": "*"
},
"peerDependenciesMeta": {
"oxfmt": {
"optional": true
}
},
"packageManager": "[email protected]",
"engines": {
"node": ">=22.12"
},
"publishConfig": {
"access": "public"
}
}