-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
139 lines (139 loc) · 3.29 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "@sanity/asset-utils",
"version": "2.2.0",
"author": "Sanity.io <hello@sanity.io>",
"license": "MIT",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=18"
},
"scripts": {
"prepare": "npm run clean && npm run pkg:build && npm run pkg:check",
"clean": "rimraf dist docs",
"pkg:build": "pkg build --strict",
"pkg:check": "pkg check --strict",
"docs": "tsx scripts/generateDocs.ts",
"test": "vitest"
},
"browserslist": "extends @sanity/browserslist-config",
"devDependencies": {
"@sanity/pkg-utils": "^6.11.8",
"@types/node": "^20.16.10",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"cheerio": "^1.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^7.2.0",
"eslint-config-sanity": "^7.1.3",
"eslint-plugin-prettier": "^5.2.1",
"outdent": "^0.8.0",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"semantic-release": "^24.2.0",
"tsx": "^4.19.2",
"typedoc": "^0.26.11",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/sanity-io/asset-utils.git"
},
"bugs": {
"url": "https://github.com/sanity-io/asset-utils/issues"
},
"homepage": "https://github.com/sanity-io/asset-utils#readme",
"keywords": [
"sanity",
"sanity.io",
"asset",
"utility"
],
"eslintConfig": {
"root": true,
"env": {
"node": true,
"browser": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"sanity",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"operator-linebreak": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "off"
},
"plugins": [
"@typescript-eslint",
"prettier"
]
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
},
"packageManager": "pnpm@9.12.0"
}