tmagic-editor/runtime/react/package.json
2022-08-05 20:21:45 +08:00

44 lines
1.7 KiB
JSON

{
"name": "runtime-react",
"version": "1.1.0-beta.6",
"private": true,
"scripts": {
"dev:react": "npm run build:libs && vite --config dev.vite.config.ts",
"build": "npm run build:libs && npm run build:page && npm run build:playground",
"build:admin": "npm run build:libs && npm run build:page:admin && npm run build:playground:admin",
"build:page": "vite build --config build.vite.config.ts --mode page",
"build:playground": "vite build --config build.vite.config.ts --mode playground",
"build:page:admin": "vite build --config build.vite.config.ts --mode page:admin",
"build:playground:admin": "vite build --config build.vite.config.ts --mode playground:admin",
"build:libs": "tmagic entry && npm run build:config & npm run build:value & npm run build: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"
},
"dependencies": {
"@tmagic/cli": "1.1.0-beta.6",
"@tmagic/core": "1.1.0-beta.6",
"@tmagic/ui-react": "1.1.0-beta.6",
"@tmagic/schema": "1.1.0-beta.6",
"@tmagic/stage": "1.1.0-beta.6",
"@tmagic/utils": "1.1.0-beta.6",
"axios": "^0.25.0",
"terser": "^5.14.2",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@vitejs/plugin-legacy": "^2.0.0",
"@vitejs/plugin-react-refresh": "^1.3.1",
"recast": "^0.20.4",
"typescript": "^4.7.4",
"vite": "^3.0.4"
}
}