tmagic-editor/runtime/react/package.json
2025-01-14 16:33:37 +08:00

43 lines
1.7 KiB
JSON

{
"name": "runtime-react",
"version": "1.5.5",
"type": "module",
"private": true,
"scripts": {
"dev:react": "vite --config dev.vite.config.ts",
"dev:playground": "vite --config dev.vite.config.ts",
"build": "npm run build:libs && npm run build:page && npm run build:playground",
"build:page": "vite build --config build.vite.config.ts --mode page",
"build:playground": "vite build --config build.vite.config.ts --mode playground",
"build:libs": "tmagic entry && npm run build:config && npm run build:value && npm run build:event && npm run build:ds:libs",
"build:ds:libs": "npm run build:ds:config && npm run build:ds:value && npm run build:ds:event",
"build:config": "vite build --config build.vite.config.ts --mode config",
"build:value": "vite build --config build.vite.config.ts --mode value",
"build:event": "vite build --config build.vite.config.ts --mode event",
"build:ds:config": "vite build --config build.vite.config.ts --mode ds:config",
"build:ds:value": "vite build --config build.vite.config.ts --mode ds:value",
"build:ds:event": "vite build --config build.vite.config.ts --mode ds:event"
},
"dependencies": {
"@tmagic/core": "1.5.5",
"@tmagic/data-source": "1.5.5",
"@tmagic/react-runtime-help": "0.0.3",
"@tmagic/schema": "1.5.5",
"@tmagic/stage": "1.5.5",
"@tmagic/utils": "1.5.5",
"axios": "^0.25.0",
"terser": "^5.31.6",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@tmagic/cli": "1.5.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-legacy": "^6.0.0",
"@vitejs/plugin-react-refresh": "^1.3.1",
"typescript": "^5.5.4",
"vite": "^5.2.11"
}
}