@portabletext/schema
Version:
Portable Text Schema
54 lines • 1.36 kB
JSON
{
"name": "@portabletext/schema",
"version": "1.1.0",
"description": "Portable Text Schema",
"keywords": [
"portabletext",
"schema"
],
"homepage": "https://www.portabletext.org/",
"bugs": {
"url": "https://github.com/portabletext/editor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/portabletext/editor.git",
"directory": "packages/schema"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"devDependencies": {
"@sanity/pkg-utils": "^7.11.9",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"scripts": {
"build": "pkg-utils build --strict --check --clean",
"check:lint": "biome lint .",
"check:types": "tsc",
"check:types:watch": "tsc --watch",
"clean": "del .turbo && del lib && del node_modules",
"dev": "pkg-utils watch",
"lint:fix": "biome lint --write .",
"test:unit": "vitest run",
"test:unit:watch": "vitest watch"
}
}