editor/package.json

25 lines
752 B
JSON
Raw Permalink Normal View History

2023-04-13 16:08:17 +08:00
{
"name": "@bytedo/editor",
"description": "定制版的前端代码编辑器, 基于`CodeMirror 6.0`",
"version": "1.0.0",
"type": "module",
"main": "dist/index.js",
"files": [
"dist/*"
],
"devDependencies": {
"@codemirror/commands": "^6.2.2",
"@codemirror/lang-css": "^6.1.1",
"@codemirror/lang-html": "^6.4.3",
"@codemirror/lang-javascript": "^6.1.5",
"@codemirror/lang-vue": "^0.1.1",
"@codemirror/language": "^6.6.0",
"@codemirror/view": "^6.9.4"
},
"scripts": {
"start": "esbuild index.js --bundle --target=esnext --format=esm --outfile=dist/index.js --watch",
"build": "esbuild index.js --minify --bundle --target=esnext --format=esm --outfile=dist/index.js"
},
"license": "MIT"
}