mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-23 18:39:20 +08:00
33 lines
871 B
JSON
33 lines
871 B
JSON
{
|
|
"name": "runtime-react",
|
|
"version": "1.1.0-beta.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev:react": "npm run entry && npm run build:lib & npm run dev:html",
|
|
"build": "npm run entry && vite build",
|
|
"build:admin": "npm run entry && vite build --mode admin",
|
|
"serve": "vite preview",
|
|
"entry": "node scripts/build.js",
|
|
"build:lib": "vite build --mode lib",
|
|
"dev:html": "vite --port 8078"
|
|
},
|
|
"dependencies": {
|
|
"@tmagic/schema": "1.1.0-beta.1",
|
|
"@tmagic/stage": "1.1.0-beta.1",
|
|
"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-react-refresh": "^1.3.1",
|
|
"recast": "^0.20.4",
|
|
"typescript": "^4.3.4",
|
|
"vite": "^2.9.13"
|
|
}
|
|
}
|