33 lines
1.5 KiB
JSON
33 lines
1.5 KiB
JSON
{
|
|
"name": "role-user",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "APP_ENV=local APP_ENV_LABEL=本地环境 ACCESS_MANAGE_API_BASE_URL=http://localhost:3500/api ROLE_USER_SESSION_COOKIE=role_user_session_local next dev -p 3210",
|
|
"build": "next build",
|
|
"build:develop": "APP_ENV=develop APP_ENV_LABEL=测试环境 ACCESS_MANAGE_API_BASE_URL=http://127.0.0.1:3501/api ROLE_USER_SESSION_COOKIE=role_user_session_develop next build",
|
|
"build:test": "pnpm build:develop",
|
|
"build:prod": "APP_ENV=production APP_ENV_LABEL=生产环境 ACCESS_MANAGE_API_BASE_URL=http://127.0.0.1:3500/api ROLE_USER_SESSION_COOKIE=role_user_session next build",
|
|
"start": "next start",
|
|
"start:develop": "APP_ENV=develop APP_ENV_LABEL=测试环境 ACCESS_MANAGE_API_BASE_URL=http://127.0.0.1:3501/api ROLE_USER_SESSION_COOKIE=role_user_session_develop next start -p 3211",
|
|
"start:prod": "APP_ENV=production APP_ENV_LABEL=生产环境 ACCESS_MANAGE_API_BASE_URL=http://127.0.0.1:3500/api ROLE_USER_SESSION_COOKIE=role_user_session next start -p 3210",
|
|
"lint": "eslint",
|
|
"typecheck": "tsc --noEmit --incremental false"
|
|
},
|
|
"dependencies": {
|
|
"lucide-react": "^0.511.0",
|
|
"next": "latest",
|
|
"react": "latest",
|
|
"react-dom": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@types/node": "^22.15.24",
|
|
"@types/react": "^19.1.6",
|
|
"@types/react-dom": "^19.1.5",
|
|
"eslint": "^9.28.0",
|
|
"eslint-config-next": "latest",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|