- Add README.md for project description and CLI usage - Create main application component with basic structure in app.tsx - Implement CodeMirror editor base functionality in editor.base.ts - Extend CodeMirror editor for JSON support in editor.json.ts - Add support for multiple languages in editor.ts - Create utility functions for editor manipulation in editor.utils.ts - Implement tab key formatting and indentation in tab.ts - Add Tailwind CSS integration in index.css - Develop JSON editor web component in json.ts - Create a template component for rendering in lib.ts - Set up main entry point in main.ts - Configure TypeScript settings in tsconfig.json - Define custom element typings in typings.d.ts - Configure Vite for library and application builds in vite.config.lib.ts and vite.config.ts
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"name": "@kevisual/kv-code",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"basename": "/root/kv-code",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"build:lib": "vite build --config vite.config.lib.ts",
|
|
"prepub": "rm -rf ./dist && rimraf ./pack-dist && pnpm run build:test",
|
|
"pub": "envision deploy ./dist -k kv-code -v 0.0.1"
|
|
},
|
|
"keywords": [],
|
|
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
|
|
"license": "MIT",
|
|
"packageManager": "pnpm@10.26.0",
|
|
"type": "module",
|
|
"files": [
|
|
"src",
|
|
"mod.ts",
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@kevisual/app": "^0.0.1",
|
|
"@kevisual/context": "^0.0.4",
|
|
"@codemirror/autocomplete": "^6.20.0",
|
|
"@codemirror/commands": "^6.10.1",
|
|
"@codemirror/lang-css": "^6.3.1",
|
|
"@codemirror/lang-html": "^6.4.11",
|
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lang-markdown": "^6.5.0",
|
|
"@codemirror/state": "^6.5.2",
|
|
"@codemirror/view": "^6.39.4",
|
|
"codemirror": "^6.0.2",
|
|
"eventemitter3": "^5.0.1",
|
|
"prettier": "^3.7.4",
|
|
"dayjs": "^1.11.19",
|
|
"lit-html": "^3.3.1",
|
|
"nanoid": "^5.1.6",
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3",
|
|
"zustand": "^5.0.9"
|
|
},
|
|
"devDependencies": {
|
|
"@kevisual/query": "0.0.32",
|
|
"@kevisual/types": "^0.0.10",
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@types/bun": "^1.3.4",
|
|
"@types/node": "^25.0.3",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.2",
|
|
"dotenv": "^17.2.3",
|
|
"tailwindcss": "^4.1.18",
|
|
"vite": "^7.3.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"exports": {
|
|
"./dist/*": "./dist/*",
|
|
"./src/*": "./src/*"
|
|
}
|
|
} |