34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"name": "lowcode-h5-demo",
|
|
"private": true,
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"dev": "concurrently -n server,editor,h5 -c cyan,magenta,yellow \"npm run dev -w @demo/server\" \"npm run dev -w @demo/editor\" \"npm run dev -w @demo/h5\"",
|
|
"build": "npm run build --workspaces --if-present",
|
|
"lint": "eslint . --max-warnings=0",
|
|
"typecheck": "npm run typecheck --workspaces --if-present",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"check": "npm run lint && npm run typecheck && npm run format:check && npm run build",
|
|
"test:e2e": "playwright test",
|
|
"check:h5": "npm run build -w @demo/h5 && ! rg -i \"sortablejs|vuedraggable|@dnd-kit|apps/editor\" apps/h5/dist/assets"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@playwright/test": "^1.54.1",
|
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
"concurrently": "^9.1.2",
|
|
"eslint": "^10.7.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"globals": "^17.7.0",
|
|
"prettier": "^3.9.5",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "^8.64.0",
|
|
"vite": "^7.0.6",
|
|
"vue": "^3.5.17"
|
|
}
|
|
}
|