-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
110 lines (110 loc) · 3.03 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": "@prismicio/svelte",
"version": "1.3.1",
"description": "Svelte components to present Prismic content.",
"keywords": [
"typescript",
"prismic"
],
"repository": {
"type": "git",
"url": "ssh://[email protected]/prismicio/prismic-svelte.git"
},
"license": "Apache-2.0",
"author": "Prismic <[email protected]> (https://prismic.io)",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"default": "./dist/index.js"
},
"./kit": {
"types": "./dist/kit/index.d.ts",
"svelte": "./dist/kit/index.js",
"default": "./dist/kit/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"kit": [
"dist/kit/index.d.ts"
]
}
},
"files": [
"./dist",
"./src"
],
"scripts": {
"build": "svelte-package --input ./src",
"dev": "svelte-package --input ./src --watch",
"format": "prettier --write --plugin prettier-plugin-svelte .",
"lint": "eslint --ext .js,.ts .",
"prepare": "npm run build",
"release": "npm run test && standard-version && git push --follow-tags && npm run build && npm publish",
"release:alpha": "npm run test && standard-version --release-as minor --prerelease alpha && git push --follow-tags && npm run build && npm publish --tag alpha",
"release:alpha:dry": "standard-version --release-as minor --prerelease alpha --dry-run",
"release:dry": "standard-version --dry-run",
"size": "size-limit",
"test": "npm run lint && npm run types && npm run unit && npm run build && npm run size",
"types": "vitest --typecheck.only --run && tsc --noEmit",
"types:watch": "vitest watch --typecheck.only",
"unit": "vitest run --coverage",
"unit:watch": "vitest watch"
},
"dependencies": {
"@prismicio/richtext": "^2.1.5",
"esm-env": "^1.0.0"
},
"devDependencies": {
"@prismicio/client": "^7.11.0",
"@prismicio/mock": "^0.4.0",
"@size-limit/preset-small-lib": "^11.0.1",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/package": "^2.2.3",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@testing-library/svelte": "^4.0.5",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitest/coverage-v8": "^1.0.4",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-tsdoc": "^0.2.17",
"happy-dom": "^12.10.3",
"prettier": "^3.1.1",
"prettier-plugin-jsdoc": "^1.1.1",
"prettier-plugin-svelte": "^3.1.2",
"size-limit": "^11.0.1",
"standard-version": "^9.5.0",
"svelte": "^4.2.0",
"typescript": "^5.3.3",
"vitest": "^1.0.4"
},
"peerDependencies": {
"@prismicio/client": ">=7",
"@sveltejs/kit": ">=1",
"svelte": ">=4 || ^5.0.0-next.1"
},
"peerDependenciesMeta": {
"@sveltejs/kit": {
"optional": true
}
},
"engines": {
"node": ">=14.15.0"
},
"publishConfig": {
"access": "public"
}
}