sql-editor-react
Version:
基于monaco-editor react 实现的sql编辑器,支持语法高亮、 关联数据库,表名 关键字 功能
69 lines • 1.84 kB
JSON
{
"name": "sql-editor-react",
"private": false,
"version": "0.1.4",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": ".dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./style": "./dist/style.css",
"./types": "./dist/index.d.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/mistyrain-jiangnan/sql-editor-react.git"
},
"keywords": [
"sql",
"editor",
"react",
"sql-editor",
"react-component",
"monaco-editor"
],
"description": "基于monaco-editor react 实现的sql编辑器,支持语法高亮、 关联数据库,表名 关键字 功能",
"dependencies": {
"@ant-design/icons": "^5.4.0",
"monaco-editor": "^0.50.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sql-formatter": "^15.3.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^26.0.1",
"@types/node": "^22.0.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"magic-string": "^0.30.11",
"rollup-plugin-visualizer": "^5.12.0",
"typescript": "^5.5.4",
"vite": "^5.3.4",
"vite-plugin-dts": "4.0.0-beta.2"
},
"peerDependencies": {
"monaco-editor": ">= 0.25.0 < 1"
},
"files": [
"dist"
],
"author": "江南",
"scripts": {
"dev": "vite",
"build": " vite build ",
"buildPublish": " vite build && pnpm version patch && pnpm publish",
"preview": "vite preview",
"clear": "sh ./scripts/clear.sh"
}
}