vue-use-monaco
Version:
A Vue library for integrating Monaco Editor with Shiki syntax highlighting, supporting real-time updates.
93 lines (92 loc) • 2.23 kB
JSON
{
"name": "vue-use-monaco",
"type": "module",
"version": "0.0.7",
"packageManager": "pnpm@10.12.1",
"description": "A Vue library for integrating Monaco Editor with Shiki syntax highlighting, supporting real-time updates.",
"author": "Simon He",
"license": "MIT",
"funding": "https://github.com/sponsors/Simon-He95",
"homepage": "https://github.com/Simon-He95/vue-use-monaco#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Simon-He95/vue-use-monaco.git"
},
"bugs": "https://github.com/Simon-He95/vue-use-monaco/issues",
"keywords": [
"vue",
"monaco-editor",
"shiki",
"syntax-highlighting",
"real-time",
"code-editor",
"vue-library"
],
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.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"
],
"scripts": {
"build": "tsdown",
"dev": "npm run build -- --watch src",
"format": "prettier --write --cache .",
"lint": "eslint . --cache",
"lint:fix": "pnpm run lint --fix",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
"test": "vitest",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@vueuse/core": ">=8.9.4",
"vue": ">=3.0.0"
},
"dependencies": {
"@shikijs/monaco": "^3.6.0",
"monaco-editor": "^0.52.2",
"shiki": "^3.6.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.16.0",
"@types/node": "^18.19.111",
"@vueuse/core": "^13.3.0",
"bumpp": "^8.2.1",
"eslint": "^9.28.0",
"lint-staged": "^13.3.0",
"picocolors": "^1.1.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"tsdown": "^0.12.7",
"tsx": "^3.14.0",
"typescript": "^4.9.5",
"vitest": "^0.15.2",
"vue": "^3.5.16"
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
],
"*.{vue,js,ts,jsx,tsx,md,json}": "eslint --fix"
}
}