-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
103 lines (103 loc) · 2.89 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
{
"name": "@prismicio/next",
"version": "1.7.1",
"description": "Helpers to integrate Prismic into Next.js apps",
"keywords": [
"typescript",
"prismic",
"next",
"vercel",
"preview"
],
"repository": {
"type": "git",
"url": "https://github.com/prismicio/prismic-next"
},
"license": "Apache-2.0",
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
"sideEffects": false,
"exports": {
".": {
"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.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": {
"@formatjs/intl-localematcher": "^0.5.2",
"imgix-url-builder": "^0.0.4",
"negotiator": "^0.6.3"
},
"devDependencies": {
"@prismicio/client": "^7.11.0",
"@prismicio/mock": "^0.4.0",
"@size-limit/preset-small-lib": "^9.0.0",
"@types/negotiator": "^0.6.3",
"@types/react-test-renderer": "^18.0.2",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^0.34.5",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tsdoc": "^0.2.17",
"happy-dom": "^12.1.6",
"memfs": "^4.4.0",
"next": "^15.0.1",
"node-fetch": "^3.3.2",
"prettier": "^3.0.3",
"prettier-plugin-jsdoc": "^1.0.2",
"react": "^18.1.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup-plugin-preserve-directives": "^0.2.0",
"size-limit": "^9.0.0",
"standard-version": "^9.5.0",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-plugin-sdk": "^0.1.1",
"vitest": "^0.34.5"
},
"peerDependencies": {
"@prismicio/client": "^6 || ^7",
"next": "^13.4.5 || ^14 || ^15.0.0-rc.0",
"react": "^18 || ^19.0.0-rc.0"
},
"engines": {
"node": ">=14.15.0"
},
"publishConfig": {
"access": "public"
}
}