Migrate project from typing_practiceweb

This commit is contained in:
2026-05-14 16:04:14 +08:00
parent dbc5425706
commit 0e87d5546d
225 changed files with 92811 additions and 0 deletions

92
package.json Normal file
View File

@@ -0,0 +1,92 @@
{
"name": "typeskill",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"server": "tsx watch server/server.ts",
"start": "concurrently \"npm run server\" \"npm run client\"",
"client": "cross-env PORT=3001 react-scripts start",
"debug:server": "cross-env NODE_OPTIONS=\"--loader ts-node/esm --inspect=5858\" ts-node-dev server/server.ts",
"debug:client": "cross-env PORT=3001 react-scripts start",
"debug": "concurrently \"npm run debug:server\" \"npm run debug:client\"",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"migrate-passwords": "ts-node -P tsconfig.json scripts/migratePasswords.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.18",
"@mui/material": "^5.14.18",
"@types/antd": "^0.12.32",
"@types/multer": "^2.0.0",
"@types/qrcode": "^1.5.6",
"ajv": "^8.17.1",
"ajv-keywords": "^5.1.0",
"antd": "^5.21.6",
"autoprefixer": "^10.4.20",
"axios": "^1.6.2",
"bcrypt": "^5.1.1",
"connect-mongo": "^5.1.0",
"crypto-js": "^4.2.0",
"csv-parser": "^3.2.0",
"express": "^4.18.2",
"express-session": "^1.18.1",
"jsencrypt": "^3.3.2",
"mongoose": "^8.0.0",
"multer": "^2.0.2",
"node-rsa": "^1.1.1",
"postcss": "^8.4.47",
"qrcode": "^1.5.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.19.0",
"react-scripts": "5.0.1",
"socket.io": "^4.8.3",
"socket.io-client": "^4.8.3",
"tailwindcss": "^3.4.14",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/bcrypt": "^5.0.2",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.1",
"@types/jest": "^29.5.14",
"@types/mongoose": "^5.11.97",
"@types/node": "^20.17.6",
"@types/node-fetch": "^2.6.12",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/xlsx": "^0.0.35",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"dotenv": "^16.5.0",
"eslint-plugin-react-hooks": "^5.2.0",
"nodemon": "^3.1.7",
"path": "^0.12.7",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.2",
"typescript": "^4.9.5"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}