42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
||
"name": "pdnode-account",
|
||
"version": "1.0.0",
|
||
"description": "Pdnode Account:支持普通登录注册和OAuth 2.0授权码流程的认证系统",
|
||
"main": "index.js",
|
||
"scripts": {
|
||
"start": "node index.js",
|
||
"dev": "nodemon index.js",
|
||
"test": "node test-api.js",
|
||
"test:oauth": "node test-oauth.js",
|
||
"test:oauth-flow": "node test-oauth-flow.js",
|
||
"test:redirect-uri": "node test-redirect-uri.js",
|
||
"dev:frontend": "vite",
|
||
"build:frontend": "vite build",
|
||
"preview:frontend": "vite preview"
|
||
},
|
||
"dependencies": {
|
||
"express": "^4.18.2",
|
||
"pg": "^8.11.3",
|
||
"bcryptjs": "^2.4.3",
|
||
"jsonwebtoken": "^9.0.2",
|
||
"cors": "^2.8.5",
|
||
"dotenv": "^16.3.1",
|
||
"express-validator": "^7.0.1"
|
||
},
|
||
"devDependencies": {
|
||
"nodemon": "^3.0.1",
|
||
"axios": "^1.5.0",
|
||
"@vitejs/plugin-react": "^4.0.0",
|
||
"vite": "^4.4.0",
|
||
"react": "^18.2.0",
|
||
"react-dom": "^18.2.0",
|
||
"@mui/material": "^5.14.0",
|
||
"@mui/icons-material": "^5.14.0",
|
||
"@emotion/react": "^11.11.0",
|
||
"@emotion/styled": "^11.11.0",
|
||
"react-router-dom": "^6.15.0"
|
||
},
|
||
"keywords": ["auth", "api", "postgresql", "login", "register", "oauth"],
|
||
"author": "",
|
||
"license": "MIT"
|
||
} |