@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
85 lines (84 loc) • 1.76 kB
JSON
{
"name": "@prismicio/client",
"version": "7.21.8",
"description": "The official JavaScript + TypeScript client library for Prismic",
"keywords": [
"client",
"cms",
"helpers",
"prismic",
"prismic.io",
"toolbox",
"types",
"typescript",
"utils"
],
"license": "Apache-2.0",
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
"repository": {
"type": "git",
"url": "ssh://git@github.com/prismicio/prismic-client.git"
},
"files": [
"./dist",
"./src"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.cts",
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"richtext": [
"dist/richtext.d.ts"
]
}
},
"react-native": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./richtext": {
"import": "./dist/richtext.js",
"require": "./dist/richtext.cjs"
},
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"format": "oxfmt",
"prepare": "npm run build",
"lint": "oxlint --deny-warnings",
"types": "tsc --noEmit",
"unit": "vitest run --coverage",
"unit:watch": "vitest watch",
"test": "npm run lint && npm run types && npm run unit && npm run build"
},
"dependencies": {
"imgix-url-builder": "^0.0.6"
},
"devDependencies": {
"@prismicio/e2e-tests-utils": "^1.16.0",
"@prismicio/types-internal": "^3.17.0",
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.1.2",
"oxfmt": "^0.43.0",
"oxlint": "^1.58.0",
"tsdown": "^0.21.7",
"typescript": "^6.0.2",
"vitest": "^4.1.2"
},
"engines": {
"node": ">=20"
}
}