-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.26 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "clash-of-spears-api",
"version": "0.4.3",
"description": "API REST for Clash of Spears game",
"main": "index.js",
"scripts": {
"dev": "nodemon - exec 'ts-node' src/index.ts",
"lint": "eslint . - ext .ts",
"build": "tsc",
"docker:stop": "docker stop cos-api-container || true",
"docker:build": "docker build . -t cos-api:latest",
"docker:clear": "docker rm cos-api-container",
"docker:run": "docker run -d --restart always -p 3000:3000 --env-file .env.production --name cos-api-container --add-host host.docker.internal:host-gateway cos-api",
"docker:prune": "yes | docker system prune -a",
"docker:deploy": "npm run docker:stop && npm run docker:build && npm run docker:clear && npm run docker:run && npm run docker:prune",
"patch": "npm version patch -m \"🩹 Patch upgrade to version %s\" & git push --tags",
"minor": "npm version minor -m \"💊 Minor upgrade to version %s\" & git push --tags",
"major": "npm version major -m \"🎉 Major upgrade to version %s\" & git push --tags",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/juananmuxed/clash-of-spears-api.git"
},
"keywords": [
"typescript",
"express",
"api",
"rest"
],
"author": "MuXeD",
"license": "MIT",
"bugs": {
"url": "https://github.com/juananmuxed/clash-of-spears-api/issues"
},
"homepage": "https://github.com/juananmuxed/clash-of-spears-api#readme",
"dependencies": {
"@types/bcrypt": "^5.0.2",
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.2",
"mariadb": "^3.2.2",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.6.5",
"sequelize": "^6.35.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.5",
"@types/multer": "^1.4.11",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"eslint": "^8.54.0",
"nodemon": "^3.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.3.2"
}
}