-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
115 lines (115 loc) · 2.9 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
{
"name": "@prismicio/client",
"version": "7.14.0-alpha.2",
"description": "The official JavaScript + TypeScript client library for Prismic",
"keywords": [
"typescript",
"client",
"helpers",
"types",
"utils",
"toolbox",
"cms",
"prismic",
"prismic.io"
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/prismicio/prismic-client.git"
},
"license": "Apache-2.0",
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./richtext": {
"require": {
"types": "./dist/richtext/index.d.ts",
"default": "./dist/richtext.cjs"
},
"import": {
"types": "./dist/richtext/index.d.ts",
"default": "./dist/richtext.js"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"react-native": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"richtext": [
"dist/richtext/index.d.ts"
]
}
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"format": "prettier --write .",
"prepare": "npm run build",
"release": "npm run test && standard-version && git push --follow-tags && npm run build && npm publish",
"release:dry": "standard-version --dry-run",
"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",
"lint": "eslint --ext .js,.ts .",
"types": "tsc --noEmit",
"unit": "vitest run --coverage",
"unit:watch": "vitest watch",
"size": "size-limit",
"test": "npm run lint && npm run types && npm run unit && npm run build && npm run size"
},
"dependencies": {
"imgix-url-builder": "^0.0.5"
},
"devDependencies": {
"@prismicio/mock": "^0.3.9",
"@prismicio/types-internal": "3.1.0",
"@size-limit/preset-small-lib": "^11.1.6",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^2.1.4",
"abort-controller": "^3.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-tsdoc": "^0.3.0",
"msw": "^1.3.5",
"node-fetch": "^3.3.2",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "1.3.0",
"size-limit": "^11.1.6",
"standard-version": "^9.5.0",
"ts-expect": "^1.3.0",
"typescript": "^5.6.3",
"vite": "^5.3.5",
"vite-plugin-sdk": "^0.1.2",
"vitest": "^2.1.4"
},
"engines": {
"node": ">=14.15.0"
},
"publishConfig": {
"access": "public"
}
}