Fixes: 1. media.ts: wrap placeholder generation in try-catch 2. toolbar.ts: check r.ok, display error message in popover
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "@emdash-cms/contentful-to-portable-text",
|
|
"version": "0.1.0",
|
|
"description": "Convert Contentful Rich Text AST to Portable Text",
|
|
"type": "module",
|
|
"main": "dist/index.mjs",
|
|
"types": "dist/index.d.mts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsdown src/index.ts --format esm --dts --clean",
|
|
"dev": "tsdown src/index.ts --format esm --dts --watch",
|
|
"test": "vitest",
|
|
"prepublishOnly": "node --run build",
|
|
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm",
|
|
"typecheck": "tsgo --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "catalog:",
|
|
"publint": "catalog:",
|
|
"tsdown": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/emdash-cms/emdash.git",
|
|
"directory": "packages/contentful-to-portable-text"
|
|
},
|
|
"homepage": "https://github.com/emdash-cms/emdash",
|
|
"keywords": [
|
|
"contentful",
|
|
"rich-text",
|
|
"portable-text",
|
|
"migration",
|
|
"cms"
|
|
],
|
|
"author": "Matt Kane",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@contentful/rich-text-types": "^17.2.7",
|
|
"@portabletext/types": "^4.0.2"
|
|
}
|
|
}
|