Koa2-TS/package.json

48 lines
1.3 KiB
JSON

{
"name": "koa2-template",
"version": "0.0.1",
"description": "init a project with me",
"main": "index.js",
"scripts": {
"start": "pm2 start ./src/index.js",
"dev": "nodemon ./src/index.js",
"test": "node ./test/redis.test.js",
"serve": "nodemon ./src/index.ts --config nodemon.json",
"build": "npm run tslint && npm run build-ts",
"build-ts": "tsc",
"watch": "npm run tslint && npm run watch-ts",
"watch-ts": "tsc -w",
"tslint": "tslint -c tslint.json -p tsconfig.json"
},
"author": "Hawkin",
"license": "MIT",
"dependencies": {
"bcryptjs": "^2.4.3",
"dotenv": "^16.0.0",
"jsonwebtoken": "^8.5.1",
"koa": "^2.13.4",
"koa-body": "^5.0.0",
"koa-parameter": "^3.0.1",
"koa-router": "^10.1.1",
"koa-static": "^5.0.0",
"mariadb": "^3.0.0",
"mongoose": "^6.3.2",
"mysql2": "^2.3.3",
"pm2": "^5.2.0",
"redis": "^4.1.0",
"redis-connection-pool": "^2.0.2",
"sequelize": "^6.19.0"
},
"devDependencies": {
"@types/koa": "^2.13.5",
"@types/koa-logger": "^3.1.2",
"@types/koa-router": "^7.4.4",
"@types/koa-static": "^4.0.2",
"@types/koa-views": "^7.0.0",
"nodemon": "^2.0.19",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typescript": "^4.7.4"
}
}