Lines 39-89json
39 "import": "./es/plugins/litexml/command/symbols.js"
42 "types": "./es/react.d.ts",
43 "import": "./es/react.js"
46 "types": "./es/renderer.d.ts",
47 "import": "./es/renderer.js"
49 "./package.json": "./package.json"
51 "main": "./es/index.js",
52 "module": "./es/index.js",
53 "types": "./es/index.d.ts",
57 "scripts/postinstall-lexical-patch.cjs"
59 "scripts": {
CriticalManifest Confusion
Tarball package.json differs from the npm registry version manifest for scripts or dependency sets.
package.jsonView on unpkg · L59 61 "build:clean": "tsx ./scripts/clean.ts",
62 "build:watch": "tsdown --watch",
63 "ci": "npm run lint:circular && npm run lint && npm run type-check",
64 "clean": "rm -r es lib dist coverage .dumi/tmp .eslintcache node_modules/.cache",
66 "docs:build": "dumi build",
67 "docs:build-analyze": "ANALYZE=1 dumi build",
68 "docs:dev": "dumi dev",
69 "postinstall": "node ./scripts/postinstall-lexical-patch.cjs",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L69 70 "lint": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
71 "lint:circular": "dpdm src/**/*.{ts,tsx} --warning false --tree false --exit-code circular:1 -T true",
72 "lint:md": "remark . --quiet --frail --output",
73 "lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx,less}\" --fix",
74 "prepack": "clean-package",
75 "postpack": "clean-package restore",
76 "prepare": "husky && npm run setup",
77 "prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
78 "release": "semantic-release",
79 "setup": "dumi setup",
80 "start": "npm run docs:dev",
82 "test:coverage": "vitest run --coverage --passWithNoTests",
83 "test:watch": "vitest --watch",
84 "type-check": "tsc --noEmit"
87 "@floating-ui/dom": "^1.7.4",
88 "@floating-ui/react": "^0.27.16",
89 "@lexical/clipboard": "0.42.0",