mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
* feat(demo): add demo vite * feat: flowDocument disposed check * chore: demo-vite config * chore: demo-vite lint config
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"name": "@flowgram.ai/demo-vite",
|
|
"version": "0.1.0",
|
|
"description": "",
|
|
"keywords": [],
|
|
"license": "MIT",
|
|
"main": "./src/index.tsx",
|
|
"files": [
|
|
"src/",
|
|
".eslintrc.js",
|
|
".gitignore",
|
|
"index.html",
|
|
"package.json",
|
|
"vite.config.js",
|
|
"tsconfig.json"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"start": "vite",
|
|
"build": "exit 0",
|
|
"clean": "rimraf dist",
|
|
"build:production": "vite build",
|
|
"lint": "eslint ./src --cache",
|
|
"lint:fix": "eslint ./src --fix",
|
|
"test": "exit",
|
|
"test:cov": "exit",
|
|
"watch": "exit 0",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@flowgram.ai/free-layout-editor": "workspace:*",
|
|
"@flowgram.ai/free-snap-plugin": "workspace:*",
|
|
"@flowgram.ai/minimap-plugin": "workspace:*",
|
|
"react": "^18",
|
|
"react-dom": "^18"
|
|
},
|
|
"devDependencies": {
|
|
"@flowgram.ai/ts-config": "workspace:*",
|
|
"@flowgram.ai/eslint-config": "workspace:*",
|
|
"@vitejs/plugin-react": "^4.4.1",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^18",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"eslint": "^8.54.0",
|
|
"cross-env": "~7.0.3",
|
|
"globals": "^15.11.0",
|
|
"less": "^4.1.2",
|
|
"vite": "^6.3.5"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
}
|
|
}
|