You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.7 KiB
57 lines
1.7 KiB
11 months ago
|
{
|
||
|
"name": "initkoa",
|
||
|
"version": "1.0.0",
|
||
|
"description": "",
|
||
|
"type": "module",
|
||
|
"main": "app.js",
|
||
|
"imports": {
|
||
|
"#root/*": "./*",
|
||
|
"#home/*": "./src/*",
|
||
|
"#routes/*": "./src/routes/*",
|
||
|
"#common/*": "./src/common/*",
|
||
|
"#dataModels/*": "./src/common/database/dataModels/*",
|
||
|
"#cache/*": "./src/cache/*",
|
||
|
"#config": "./config/config.js",
|
||
|
"#task/*": "./src/task/*",
|
||
|
"#workers/*": "./src/workers/*",
|
||
|
"#protocol/*": "./src/protocol/*",
|
||
|
"#processes/*": "./src/processes/*"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||
|
"format": "prettier --write \"src/**/*.js\"",
|
||
|
"start": "cross-env NODE_ENV=production node bootstrap.js",
|
||
|
"start:dev": "cross-env NODE_ENV=development nodemon --unhandled-rejections=throw bootstrap.js",
|
||
|
"test:dev": "cross-env NODE_ENV=development node bootstrap.js",
|
||
|
"genmodel": "cd gen-Model && sequelize-auto -h 127.0.0.1 -d lauch -u root -x root -p 3306"
|
||
|
},
|
||
|
"keywords": [],
|
||
|
"author": "",
|
||
|
"license": "ISC",
|
||
|
"dependencies": {
|
||
|
"ajv": "^8.12.0",
|
||
|
"ajv-errors": "^3.0.0",
|
||
|
"koa": "^2.14.2",
|
||
|
"koa-body": "^6.0.1",
|
||
|
"koa-compress": "^5.1.1",
|
||
|
"koa-json-error": "^3.1.2",
|
||
|
"koa-logger": "^3.2.1",
|
||
|
"koa-ratelimit": "^5.0.1",
|
||
|
"koa-router": "^12.0.1",
|
||
|
"koa-useragent": "^4.1.0",
|
||
|
"mysql2": "^3.6.5",
|
||
|
"sequelize": "^6.35.1",
|
||
|
"winston": "^3.11.0",
|
||
|
"winston-daily-rotate-file": "^4.7.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"cross-env": "^7.0.3",
|
||
|
"eslint": "^8.52.0",
|
||
|
"eslint-config-prettier": "^9.0.0",
|
||
|
"eslint-plugin-prettier": "^5.0.0",
|
||
|
"nodemon": "^3.0.1",
|
||
|
"prettier": "^3.0.3",
|
||
|
"sequelize-auto": "^0.8.8"
|
||
|
}
|
||
|
}
|