-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
91 lines (91 loc) · 2.44 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
{
"name": "@portabletext/svelte",
"version": "2.1.11",
"homepage": "https://github.com/portabletext/svelte-portabletext#readme",
"bugs": {
"url": "https://github.com/portabletext/svelte-portabletext/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/portabletext/svelte-portabletext.git"
},
"license": "MIT",
"author": "Sanity <hello@sanity.io>",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
}
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"scripts": {
"build": "vite build && npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "vite dev",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "npm run package",
"preview": "vite preview",
"test": "vitest"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"extends": "@sanity/semantic-release-preset"
},
"dependencies": {
"@portabletext/toolkit": "^2.0.15"
},
"devDependencies": {
"@portabletext/types": "^2.0.13",
"@sanity/semantic-release-preset": "^4.1.7",
"@sveltejs/adapter-auto": "^3.2.1",
"@sveltejs/kit": "^2.5.10",
"@sveltejs/package": "^2.3.1",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@testing-library/svelte": "^5.1.0",
"@types/eslint": "^8.56.10",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.39.0",
"jsdom": "^24.0.0",
"prettier": "^3.2.5",
"prettier-plugin-packagejson": "^2.5.0",
"prettier-plugin-svelte": "^3.2.3",
"publint": "^0.2.8",
"semantic-release": "^23.1.1",
"svelte": "^4.2.17",
"svelte-check": "^3.7.1",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vitest": "^1.6.0"
},
"peerDependencies": {
"svelte": ">=3.47.0 <5.0.0"
},
"publishConfig": {
"access": "public"
}
}