-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
128 lines (128 loc) · 3.15 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
{
"name": "@portabletext/toolkit",
"version": "2.0.17",
"description": "Toolkit of handy utility functions for dealing with Portable Text",
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content",
"portable-text-toolkit"
],
"homepage": "https://github.com/portabletext/toolkit#readme",
"bugs": {
"url": "https://github.com/portabletext/toolkit/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/portabletext/toolkit.git"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "module",
"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",
"README.md"
],
"scripts": {
"build": "run-s clean pkg:build pkg:check",
"clean": "rimraf dist coverage",
"coverage": "vitest run --coverage",
"docs:build": "typedoc",
"format": "prettier --write --cache --ignore-unknown .",
"lint": "eslint .",
"pkg:build": "pkg-utils build --strict",
"pkg:check": "pkg-utils --strict",
"prepare": "husky install",
"prepublishOnly": "run-s build lint type-check",
"test": "vitest",
"type-check": "tsc --noEmit"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
]
},
"browserslist": "extends @sanity/browserslist-config",
"prettier": {
"bracketSpacing": false,
"plugins": [
"prettier-plugin-packagejson"
],
"printWidth": 100,
"semi": false,
"singleQuote": true
},
"eslintConfig": {
"parserOptions": {
"ecmaFeatures": {
"modules": true
},
"ecmaVersion": 9,
"sourceType": "module"
},
"extends": [
"sanity",
"sanity/typescript",
"prettier"
],
"ignorePatterns": [
"dist/**/"
]
},
"dependencies": {
"@portabletext/types": "^2.0.13"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-object-rest-spread": "^7.24.7",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@sanity/pkg-utils": "^6.10.0",
"@types/node": "^20.8.7",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@vitest/coverage-v8": "^1.6.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-sanity": "^7.1.2",
"husky": "^8.0.3",
"npm-run-all2": "^5.0.2",
"prettier": "^3.3.2",
"prettier-plugin-packagejson": "^2.5.0",
"rimraf": "^4.4.1",
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"vitest": "^1.6.0",
"vitest-github-actions-reporter": "^0.11.1"
},
"packageManager": "pnpm@9.4.0",
"engines": {
"node": "^14.13.1 || >=16.0.0"
},
"publishConfig": {
"access": "public"
}
}