@portabletext/keyboard-shortcuts
Version:
Create platform-aware keyboard shortcuts with automatic detection of Apple vs non-Apple platforms
53 lines • 1.47 kB
JSON
{
"name": "@portabletext/keyboard-shortcuts",
"version": "2.1.2",
"description": "Create platform-aware keyboard shortcuts with automatic detection of Apple vs non-Apple platforms",
"keywords": [
"portabletext",
"keyboard-shortcuts"
],
"homepage": "https://portabletext.org",
"bugs": {
"url": "https://github.com/portabletext/editor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/portabletext/editor.git",
"directory": "packages/keyboard-shortcuts"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "module",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"devDependencies": {
"@sanity/pkg-utils": "^10.2.1",
"@sanity/tsconfig": "^2.0.0",
"typescript": "5.9.3",
"vitest": "^4.0.14"
},
"engines": {
"node": ">=20.19 <22 || >=22.12"
},
"scripts": {
"build": "pkg-utils build --strict --check --clean",
"check:lint": "biome lint .",
"check:types": "tsc",
"check:types:watch": "tsc --watch",
"clean": "del .turbo && del dist && del node_modules",
"dev": "pkg-utils watch",
"lint:fix": "biome lint --write .",
"test": "vitest --run",
"test:unit": "vitest --run --project unit",
"test:unit:watch": "vitest --project unit",
"test:watch": "vitest"
}
}