@prismicio/react
Version:
React components and hooks to fetch and present Prismic content
99 lines (98 loc) • 2.61 kB
JSON
{
"name": "@prismicio/react",
"version": "3.2.1",
"description": "React components and hooks to fetch and present Prismic content",
"keywords": [
"typescript",
"prismic",
"react"
],
"repository": {
"type": "git",
"url": "git+https://github.com/prismicio/prismic-react.git"
},
"license": "Apache-2.0",
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts"
]
}
},
"files": [
"dist",
"src"
],
"workspaces": [
".",
"e2e-projects/*"
],
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"e2e": "playwright test",
"e2e:ui": "npm run e2e -- --ui",
"format": "prettier --write .",
"lint": "eslint",
"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 --prerelease alpha && git push --follow-tags && npm run build && npm publish --tag alpha",
"release:alpha:dry": "standard-version --prerelease alpha --dry-run",
"release:dry": "standard-version --dry-run",
"size": "size-limit",
"test": "npm run lint && npm run types && npm run build && npm run e2e && npm run size && npm run e2e",
"types": "tsc --noEmit"
},
"dependencies": {
"esm-env": "^1.2.2"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@playwright/test": "^1.50.0",
"@prismicio/client": "^7.17.0",
"@rollup/plugin-typescript": "^12.1.2",
"@size-limit/preset-small-lib": "^11.1.6",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"dotenv": "^16.4.7",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-tsdoc": "^0.4.0",
"playwright": "^1.50.0",
"prettier": "^3.4.2",
"prettier-plugin-jsdoc": "^1.3.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup-plugin-preserve-directives": "^0.4.0",
"rollup-preserve-directives": "^1.1.3",
"size-limit": "^11.1.6",
"standard-version": "^9.5.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.22.0",
"vite": "^6.0.11"
},
"peerDependencies": {
"@prismicio/client": "^7",
"react": "^18 || ^19"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
}
}