forked from portabletext/toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.25 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
{
"name": "@portabletext/toolkit",
"version": "1.0.3",
"description": "Toolkit of handy utility functions for dealing with Portable Text",
"main": "./dist/portable-text-toolkit.cjs.js",
"module": "./dist/portable-text-toolkit.esm.js",
"exports": {
".": {
"import": "./dist/portable-text-toolkit.esm.js",
"require": "./dist/portable-text-toolkit.cjs.js"
}
},
"sideEffects": false,
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"build": "vite build",
"clean": "rimraf .nyc_output coverage",
"docs": "typedoc",
"coverage": "tap test/*.test.* --coverage-report=html",
"lint": "eslint . && tsc --noEmit",
"prepublishOnly": "npm run build && npm run lint",
"test": "tap test/*.test.*"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/portabletext/toolkit.git"
},
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content",
"portable-text-toolkit"
],
"author": "Sanity.io <hello@sanity.io>",
"license": "MIT",
"dependencies": {
"@portabletext/types": "^1.0.0"
},
"devDependencies": {
"@types/tap": "^15.0.5",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"esbuild-register": "^3.2.1",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-sanity": "^5.1.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"tap": "^15.1.5",
"typedoc": "^0.22.11",
"typescript": "^4.5.4",
"vite": "^2.7.4",
"vite-dts": "^1.0.4"
},
"bugs": {
"url": "https://github.com/portabletext/toolkit/issues"
},
"homepage": "https://github.com/portabletext/toolkit#readme",
"prettier": {
"semi": false,
"printWidth": 100,
"bracketSpacing": false,
"singleQuote": true
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"extends": [
"sanity",
"sanity/typescript",
"prettier"
],
"ignorePatterns": [
"lib/**/"
]
},
"tap": {
"node-arg": [
"-r",
"esbuild-register"
],
"nyc-arg": [
"--exclude=tap-snapshots/*"
],
"check-coverage": false
}
}