mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
51 lines
1.9 KiB
JSON
51 lines
1.9 KiB
JSON
{
|
|
"name": "runtime-react",
|
|
"version": "1.3.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/cli": "1.3.5",
|
|
"@tmagic/core": "1.3.5",
|
|
"@tmagic/data-source": "1.3.5",
|
|
"@tmagic/ui-react": "1.3.5",
|
|
"@tmagic/schema": "1.3.5",
|
|
"@tmagic/stage": "1.3.5",
|
|
"@tmagic/utils": "1.3.5",
|
|
"axios": "^0.25.0",
|
|
"lodash-es": "^4.17.21",
|
|
"terser": "^5.14.2",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.21.4",
|
|
"@types/lodash-es": "^4.17.4",
|
|
"@types/react": "^17.0.37",
|
|
"@types/react-dom": "^17.0.11",
|
|
"@vitejs/plugin-legacy": "^5.2.0",
|
|
"@vitejs/plugin-react-refresh": "^1.3.1",
|
|
"recast": "^0.20.4",
|
|
"typescript": "^5.0.4",
|
|
"vite": "^5.0.7"
|
|
}
|
|
}
|