-
Notifications
You must be signed in to change notification settings - Fork 388
/
package.json
110 lines (110 loc) · 2.79 KB
/
package.json
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
{
"name": "@sanity/util",
"version": "3.0.2",
"description": "Utilities shared across projects of Sanity",
"types": "./lib/exports/index.d.ts",
"source": "./exports/index.ts",
"module": "./lib/index.esm.js",
"main": "./lib/index.js",
"exports": {
".": {
"types": "./lib/exports/index.d.ts",
"source": "./exports/index.ts",
"import": "./lib/index.esm.js",
"require": "./lib/index.js",
"default": "./lib/index.esm.js"
},
"./fs": {
"types": "./lib/exports/fs.d.ts",
"source": "./exports/fs.ts",
"import": "./lib/fs.esm.js",
"require": "./lib/fs.js",
"default": "./lib/fs.esm.js"
},
"./content": {
"types": "./lib/exports/content.d.ts",
"source": "./exports/content.ts",
"import": "./lib/content.esm.js",
"require": "./lib/content.js",
"default": "./lib/content.esm.js"
},
"./legacyDateFormat": {
"types": "./lib/exports/legacyDateFormat.d.ts",
"source": "./exports/legacyDateFormat.ts",
"import": "./lib/legacyDateFormat.esm.js",
"require": "./lib/legacyDateFormat.js",
"default": "./lib/legacyDateFormat.esm.js"
},
"./paths": {
"types": "./lib/exports/paths.d.ts",
"source": "./exports/paths.ts",
"import": "./lib/paths.esm.js",
"require": "./lib/paths.js",
"default": "./lib/paths.esm.js"
}
},
"typesVersions": {
"*": {
"fs": [
"./lib/exports/fs.d.ts"
],
"content": [
"./lib/exports/content.d.ts"
],
"legacyDateFormat": [
"./lib/exports/legacyDateFormat.d.ts"
],
"paths": [
"./lib/exports/paths.d.ts"
]
}
},
"files": [
"content.js",
"fs.js",
"legacyDateFormat.js",
"lib",
"paths.js",
"src"
],
"scripts": {
"build": "pkg-utils build --tsconfig tsconfig.lib.json",
"check:package": "pkg-utils --tsconfig tsconfig.lib.json",
"clean": "rimraf content.js fs.js legacyDateFormat.js lib paths.js",
"test": "jest",
"postbuild": "run-s check:package",
"prebuild": "run-s clean",
"watch": "pkg-utils watch --tsconfig tsconfig.lib.json"
},
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/util"
},
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content",
"util"
],
"author": "Sanity.io <hello@sanity.io>",
"license": "MIT",
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
},
"homepage": "https://www.sanity.io/",
"dependencies": {
"@sanity/types": "3.0.2",
"get-random-values-esm": "^1.0.0",
"moment": "^2.29.4"
},
"devDependencies": {
"@types/moment": "^2.13.0",
"rimraf": "^3.0.2"
}
}