-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
115 lines (115 loc) · 3.18 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/react",
"version": "2.9.1",
"description": "React components and hooks to fetch and present Prismic content",
"keywords": [
"typescript",
"prismic",
"react",
"cms",
"hook"
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/prismicio/prismic-react.git"
},
"license": "Apache-2.0",
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
"sideEffects": false,
"exports": {
".": {
"react-server": {
"require": {
"types": "./dist/react-server/index.d.ts",
"default": "./dist/react-server.cjs"
},
"import": {
"types": "./dist/react-server/index.d.ts",
"default": "./dist/react-server.js"
}
},
"default": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"react-native": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"format": "prettier --write .",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"types": "tsc --noEmit",
"prepare": "npm run build",
"release": "npm run build && npm run test && standard-version && git push --follow-tags && npm run build && npm publish",
"release:alpha": "npm run build && 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",
"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": {
"@prismicio/richtext": "^2.1.5"
},
"devDependencies": {
"@prismicio/client": "^7.11.0",
"@prismicio/mock": "0.4.0",
"@size-limit/preset-small-lib": "^8.2.4",
"@testing-library/react": "^14.0.0",
"@types/node-fetch": "^3.0.3",
"@types/react": "^18.2.9",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-v8": "^0.32.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tsdoc": "^0.2.17",
"happy-dom": "^9.20.3",
"msw": "^1.2.1",
"node-fetch": "^3.3.1",
"prettier": "^2.8.8",
"prettier-plugin-jsdoc": "^0.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup-plugin-preserve-directives": "^0.2.0",
"size-limit": "^8.2.4",
"standard-version": "^9.5.0",
"typescript": "^5.0.4",
"vite": "^4.3.9",
"vite-plugin-sdk": "^0.1.1",
"vitest": "^0.32.0"
},
"peerDependencies": {
"@prismicio/client": "^6 || ^7",
"react": "^18 || ^19.0.0-rc.0"
},
"engines": {
"node": ">=12.7.0"
},
"publishConfig": {
"access": "public"
}
}