oms/package.json

40 lines
1.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "oms",
"version": "1.0.0",
"description": "OMS 后端服务(Egg.js)",
"private": true,
"scripts": {
"dev": "egg-bin dev",
"start": "egg-scripts start --daemon --title=egg-server-oms",
"stop": "egg-scripts stop --title=egg-server-oms",
"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",
"migration:up": "sequelize-cli db:migrate",
"migration:down": "sequelize-cli db:migrate:undo",
"migration:down:all": "sequelize-cli db:migrate:undo:all",
"migration:create": "sequelize-cli migration:generate --name",
"swagger:export": "node scripts/export-swagger.js"
},
"dependencies": {
"egg": "^3.34.0",
"egg-redis": "^2.6.1",
"egg-scripts": "^3.1.0",
"egg-sequelize": "^6.0.0",
"egg-swagger-doc": "^2.3.2",
"mysql2": "^3.24.4"
},
"devDependencies": {
"egg-bin": "^6.13.0",
"egg-mock": "^5.12.0",
"eslint": "^8.57.0",
"eslint-config-egg": "^14.1.0",
"sequelize-cli": "^6.6.5"
},
"engines": {
"node": ">=16.0.0"
}
}