65 lines
2.2 KiB
JSON
65 lines
2.2 KiB
JSON
{
|
|
"name": "ye4s",
|
|
"version": "1.0.0",
|
|
"description": "tbyc",
|
|
"private": true,
|
|
"egg": {
|
|
"declarations": true
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.8.3",
|
|
"egg": "^3.17.5",
|
|
"egg-cors": "^3.0.1",
|
|
"egg-mysql": "^4.0.0",
|
|
"egg-redis": "^2.6.1",
|
|
"egg-scripts": "2",
|
|
"egg-socket.io": "^4.1.6",
|
|
"mysql2": "^3.22.6",
|
|
"soap": "^1.1.7"
|
|
},
|
|
"devDependencies": {
|
|
"egg-bin": "6",
|
|
"egg-mock": "5",
|
|
"eslint": "8",
|
|
"eslint-config-egg": "13"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "egg-scripts start --daemon --title=egg-server-ye4s --sticky",
|
|
"stop": "egg-scripts stop --title=egg-server-ye4s",
|
|
"stop:v1": "egg-scripts stop --title=egg-server-ye4s-v1",
|
|
"stop:v2": "egg-scripts stop --title=egg-server-ye4s-v2",
|
|
"dev": "egg-bin dev --sticky",
|
|
"test": "npm run lint -- --fix && npm run test:local",
|
|
"test:local": "egg-bin test",
|
|
"cov": "egg-bin cov",
|
|
"lint": "eslint .",
|
|
"ci": "npm run lint && npm run cov",
|
|
"deploy:precheck": "node ./script/deploy-precheck.cjs",
|
|
"deploy:authcheck": "node ./script/deploy-auth-check.cjs",
|
|
"deploy:version": "node ./script/deploy-version.cjs production",
|
|
"deploy:version:history": "node ./script/deploy-version.cjs production --history=20",
|
|
"deploy:inspect": "node ./script/deploy-ops.cjs production inspect",
|
|
"deploy:smoke": "node ./script/deploy-ops.cjs production smoke",
|
|
"deploy:verify": "node ./script/deploy-ops.cjs production verify",
|
|
"deploy:cleanup-backups": "node ./script/deploy-ops.cjs production cleanup-backups",
|
|
"deploy:gateway-probe": "node ./script/deploy-ops.cjs production gateway-probe",
|
|
"version:record": "node ./script/version-record.cjs",
|
|
"version:history": "node ./script/version-history.cjs --limit=50",
|
|
"deploy": "npm run deploy:prod",
|
|
"deploy:prod": "node ./script/deploy-remote.cjs production",
|
|
"rollback": "npm run rollback:prod",
|
|
"rollback:prod": "node ./script/rollback-remote.cjs production",
|
|
"guard:git": "node ./script/git-safety-check.cjs",
|
|
"setup:hooks": "node ./script/setup-git-hooks.cjs"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": ""
|
|
},
|
|
"author": "mingren",
|
|
"license": "MIT"
|
|
}
|