@prismicio/react
Version:
React components and hooks to fetch and present Prismic content
77 lines (76 loc) • 1.56 kB
JSON
{
"name": "@prismicio/react",
"version": "3.4.1",
"description": "React components and hooks to fetch and present Prismic content",
"keywords": [
"prismic",
"react",
"typescript"
],
"license": "Apache-2.0",
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
"repository": {
"type": "git",
"url": "git+https://github.com/prismicio/prismic-react.git"
},
"workspaces": [
".",
"e2e-projects/*"
],
"files": [
"dist",
"src"
],
"type": "module",
"sideEffects": false,
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts"
]
}
},
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"e2e": "playwright test",
"e2e:ui": "npm run e2e -- --ui",
"format": "oxfmt",
"lint": "oxlint --deny-warnings",
"prepare": "npm run build",
"test": "npm run lint && npm run types && npm run build && npm run e2e",
"types": "tsc --noEmit"
},
"dependencies": {
"esm-env": "^1.2.2"
},
"devDependencies": {
"@playwright/test": "^1.59.1",
"@prismicio/client": "^7.17.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"dotenv": "^17.4.0",
"oxfmt": "^0.43.0",
"oxlint": "^1.58.0",
"playwright": "^1.59.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tsdown": "^0.21.7",
"typescript": "^6.0.2"
},
"peerDependencies": {
"@prismicio/client": "^7",
"react": "^18 || ^19"
},
"engines": {
"node": ">=20"
}
}