feat: admin image
Showing
admin/.dockerignore
0 → 100644
admin/.env.template
0 → 100644
admin/.gitignore
0 → 100644
admin/Dockerfile
0 → 100644
| ... | ... | @@ -8,23 +8,31 @@ |
| "dev": "concurrently \"vite\" \"npm run start:api\"", | ||
| "build": "tsc && vite build", | ||
| "preview": "vite preview", | ||
| "start:api": "node server.js" | ||
| "start:api": "nodemon server.js" | ||
| }, | ||
| "dependencies": { | ||
| "concurrently": "^8.1.0", | ||
| "cors": "^2.8.5", | ||
| "dayjs": "^1.11.8", | ||
| "dotenv": "^16.1.4", | ||
| "express": "^4.18.2", | ||
| "jsonwebtoken": "^9.0.0", | ||
| "mongoose": "^7.2.2", | ||
| "react": "^18.2.0", | ||
| "react-admin": "^4.11.0", | ||
| "react-dom": "^18.2.0", | ||
| "tushan": "^0.2.13" | ||
| "tushan": "^0.2.22" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/jsonexport": "^3.0.2", | ||
| "@types/lodash-es": "^4.17.7", | ||
| "@types/node": "^20.2.5", | ||
| "@types/react": "^18.0.28", | ||
| "@types/react-dom": "^18.0.11", | ||
| "@types/react-helmet": "^6.1.6", | ||
| "@types/styled-components": "^5.1.26", | ||
| "@vitejs/plugin-react": "^3.1.0", | ||
| "typescript": "^4.9.3", | ||
| "typescript": "^4.9.2", | ||
| "vite": "^4.2.1" | ||
| } | ||
| } |
admin/pnpm-lock.yaml
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
admin/service/route/app.js
0 → 100644
admin/service/route/kb.js
0 → 100644
admin/service/route/system.js
0 → 100644
admin/service/route/user.js
0 → 100644
admin/service/schema.js
0 → 100644
| ... | ... | @@ -13,7 +13,7 @@ |
| "prettier": "^2.8.7" | ||
| }, | ||
| "lint-staged": { | ||
| "./**/src/**/*.{ts,tsx,scss}": "npm run format" | ||
| "./**/*.{ts,tsx,scss}": "npm run format" | ||
| }, | ||
| "engines": { | ||
| "node": ">=18.0.0" | ||
| ... | ... |
Please
register
or
sign in
to comment