{ "name": "stream-monaco", "type": "module", "version": "0.0.40", "packageManager": "pnpm@10.33.2", "description": "A framework-agnostic Monaco Editor integration with Shiki syntax highlighting, built for real-time streaming updates and efficient diff editing.", "author": "Simon He", "license": "MIT", "funding": "https://github.com/sponsors/Simon-He95", "homepage": "https://github.com/Simon-He95/stream-monaco#readme", "repository": { "type": "git", "url": "git+https://github.com/Simon-He95/stream-monaco.git" }, "bugs": "https://github.com/Simon-He95/stream-monaco/issues", "keywords": [ "monaco-editor", "monaco", "shiki", "shiki-monaco", "syntax-highlighting", "textmate", "vscode", "real-time", "code-editor", "diff-editor", "signals", "framework-agnostic", "framework", "streaming", "vue", "react", "svelte", "solid", "preact", "vanilla" ], "sideEffects": [ "./dist/index.js", "./dist/index.cjs", "./dist/index.legacy.js", "./dist/index.legacy.cjs", "./legacy.js", "./legacy.cjs" ], "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./legacy": { "import": "./dist/index.legacy.js", "require": "./dist/index.legacy.cjs" } }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "bin": { "run": "cli.mjs" }, "files": [ "dist", "legacy.cjs", "legacy.d.cts", "legacy.d.ts", "legacy.js" ], "scripts": { "build": "tsdown", "dev": "npm run build -- --watch src", "format": "prettier --write --cache .", "lint": "eslint . --cache", "lint:fix": "pnpm run lint --fix", "prepublishOnly": "pnpm build", "release": "bumpp --tag \"v%s\"", "publish:package": "pnpm build && npm publish", "start": "esno src/index.ts", "bench": "node scripts/stream-benchmark.mjs", "bench:playwright": "node scripts/playwright-bench.mjs", "smoke:diff": "node scripts/playwright-diff-smoke.mjs", "shot:diff-ux": "node scripts/playwright-diff-ux-shot.mjs", "validate:diff-gutter": "node scripts/playwright-diff-gutter-validate.mjs", "validate:diff-hunk-actions": "node scripts/playwright-diff-hunk-actions-validate.mjs", "validate:diff-hunk-custom-flow": "node scripts/playwright-diff-hunk-custom-flow-validate.mjs", "validate:diff-hunk-update-diff-flow": "node scripts/playwright-diff-hunk-update-diff-flow-validate.mjs", "validate:diff-inline": "node scripts/playwright-diff-inline-validate.mjs", "validate:diff-transition": "node scripts/playwright-diff-transition-validate.mjs", "validate:diff-unchanged-expand": "node scripts/playwright-diff-unchanged-expand-validate.mjs", "validate:diff-unchanged-reveal": "node scripts/playwright-diff-unchanged-reveal-validate.mjs", "validate:markstream-diff-theme": "node scripts/playwright-markstream-diff-theme-validate.mjs", "compare:diff-ux": "node scripts/playwright-diff-ux-compare.mjs", "test": "vitest", "typecheck": "tsc --noEmit" }, "peerDependencies": { "monaco-editor": ">=0.52.2 <0.56.0" }, "dependencies": { "@shikijs/monaco": "^3.23.0", "alien-signals": "^2.0.8", "shiki": "^3.23.0" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@types/node": "^18.19.130", "bumpp": "^8.2.1", "eslint": "^9.39.4", "lint-staged": "^13.3.0", "picocolors": "^1.1.1", "playwright": "1.38.0", "prettier": "^2.8.8", "rimraf": "^3.0.2", "tsdown": "^0.12.9", "tsx": "^3.14.0", "typescript": "^5.9.3", "vitest": "^3.2.4" }, "lint-staged": { "*": [ "prettier --write --cache --ignore-unknown" ], "*.{vue,js,ts,jsx,tsx,md,json}": "eslint --fix" } }