-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
169 lines (158 loc) · 6.87 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "corsace",
"version": "1.0.0",
"description": "Everything Corsace",
"main": "index.ts",
"dependencies": {
"@aws-sdk/client-s3": "^3.348.0",
"@aws-sdk/lib-storage": "^3.348.0",
"@aws-sdk/s3-request-presigner": "^3.348.0",
"@koa/router": "^10.0.0",
"@nuxtjs/axios": "^5.12.5",
"@nuxtjs/proxy": "^2.1.0",
"archiver": "^5.3.1",
"async": "^3.2.0",
"bancho.js": "^0.11.4",
"centrifuge": "^4.1.0",
"corsace-parser": "^0.2.3",
"cron": "^2.3.0",
"discord.js": "^14.9.0",
"fastest-levenshtein": "^1.0.16",
"http-graceful-shutdown": "^3.1.13",
"jimp": "^0.22.8",
"koa": "^2.13.1",
"koa-basic-auth": "^4.0.0",
"koa-body": "^6.0.1",
"koa-cash": "^4.0.5",
"koa-ip": "^2.1.3",
"koa-mount": "^4.0.0",
"koa-passport": "^6.0.0",
"koa-session": "^6.4.0",
"koa-static": "^5.0.0",
"limiter": "^2.1.0",
"lodash": "^4.17.20",
"lru-cache": "^4.1.5",
"memoizee": "^0.4.15",
"mysql": "^2.18.1",
"node-config-ts": "^3.1.0",
"nodesu": "^0.7.3",
"nuxt": "^2.16.3",
"nuxt-i18n": "^6.17.0",
"passport": "^0.6.0",
"passport-discord": "^0.1.4",
"passport-oauth2": "^1.5.0",
"rate-limiter-flexible": "^2.3.7",
"reflect-metadata": "^0.1.10",
"stream-to-string": "^1.2.0",
"ts-node": "^10.4.0",
"typeorm": "^0.3.20",
"typescript": "^4.9.4",
"unzipper": "^0.10.11",
"vue-class-component": "^7.2.6",
"vue-property-decorator": "^9.1.2",
"vuex-class": "^0.3.2"
},
"devDependencies": {
"@astrojs/starlight": "^0.10.0",
"@inquirer/checkbox": "^2.4.7",
"@inquirer/select": "^2.4.7",
"@nuxt/types": "^2.16.3",
"@nuxt/typescript-build": "^2.0.3",
"@types/archiver": "^5.3.2",
"@types/async": "^3.2.5",
"@types/cron": "^2.0.1",
"@types/koa": "^2.11.6",
"@types/koa__router": "^8.0.3",
"@types/koa-basic-auth": "^2.0.4",
"@types/koa-cash": "^4.0.0",
"@types/koa-mount": "^4.0.0",
"@types/koa-passport": "^4.0.2",
"@types/koa-session": "^6.4.1",
"@types/koa-static": "^4.0.2",
"@types/lodash": "^4.14.167",
"@types/lru-cache": "^5.1.0",
"@types/memoizee": "^0.4.5",
"@types/node": "^18.11.15",
"@types/passport-discord": "^0.1.3",
"@types/unzipper": "^0.10.7",
"@types/validator": "^13.1.2",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"astro": "^3.0.12",
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"eslint": "^8.49.0",
"eslint-plugin-vue": "^9.17.0",
"execa": "^8.0.1",
"postcss": "^8.4.23",
"sass": "^1.32.2",
"sass-loader": "^10.1.0",
"sharp": "^0.32.5",
"ts-node-dev": "^2.0.0"
},
"scripts": {
"init": "ts-node --files --project Server/tsconfig.json ./Server/scripts/init.ts",
"init:tournament": "ts-node --files --project Server/tsconfig.json ./Server/scripts/initTournament.ts",
"init:mca": "ts-node --files --project Server/tsconfig.json ./Server/scripts/initMCA.ts",
"backup": "ts-node --files --project Server/tsconfig.json ./Server/scripts/backupDB.ts",
"restore": "ts-node --files --project Server/tsconfig.json ./Server/scripts/restoreDB.ts",
"build:ayim": "cd ./AYIM && nuxt build",
"build:mca": "cd ./MCA && nuxt build",
"build:main": "cd ./Main && nuxt build",
"build:open": "cd ./Open && nuxt build",
"build:api": "cross-env NODE_ENV=production tsc --project Server/tsconfig.json",
"build:discord-bot": "cross-env NODE_ENV=production tsc --project DiscordBot/tsconfig.json",
"build:bancho-bot": "cross-env NODE_ENV=production tsc --project BanchoBot/tsconfig.json",
"build:docs": "cd ./Docs && astro build",
"ayim": "cd ./AYIM && nuxt start",
"mca": "cd ./MCA && nuxt start",
"main": "cd ./Main && nuxt start",
"open": "cd ./Open && nuxt start",
"api": "cd Server && node dist/Server/index.js",
"discord-bot": "cd DiscordBot && node dist/DiscordBot/index.js",
"bancho-bot": "cd BanchoBot && node dist/BanchoBot/index.js",
"cron-runner": "cd Server && node dist/Server/cron-runner.js",
"docs": "cd ./Docs && astro dev",
"ayim-dev": "cd ./AYIM && nuxt",
"mca-dev": "cd ./MCA && nuxt",
"main-dev": "cd ./Main && nuxt",
"open-dev": "cd ./Open && nuxt",
"api-dev": "cross-env NODE_ENV=development ts-node-dev --files --project Server/tsconfig.json --respawn Server/index.ts",
"cron-runner-dev": "cross-env NODE_ENV=development ts-node-dev --files --project Server/tsconfig.json --respawn Server/cron-runner.ts",
"discord-bot-dev": "cross-env NODE_ENV=development ts-node-dev --files --project DiscordBot/tsconfig.json --respawn DiscordBot/index.ts",
"bancho-bot-dev": "cross-env NODE_ENV=development ts-node-dev --files --project BanchoBot/tsconfig.json --respawn BanchoBot/index.ts",
"docs-dev": "cd ./Docs && astro dev",
"dev": "concurrently -n MCA,AYIM,MAIN,OPEN,API -c bgMagenta.bold,bgBlue.bold,black.bgWhite.bold,bgRed.bold,black.bgYellow.bold \"npm:mca-dev\" \"npm:ayim-dev\" \"npm:main-dev\" \"npm:open-dev\" \"npm:api-dev\"",
"dev-client": "concurrently -n MCA,AYIM,MAIN,OPEN -c bgMagenta.bold,bgBlue.bold,black.bgWhite.bold,bgRed.bold \"npm:mca-dev\" \"npm:ayim-dev\" \"npm:main-dev\" \"npm:open-dev\"",
"lint": "eslint --ext .ts,.vue --ignore-path .gitignore .",
"lintfix": "eslint --fix --ext .ts,.vue --ignore-path .gitignore .",
"concatNoms": "ts-node --files --project Server/tsconfig.json ./Server/scripts/concatNoms.ts",
"dupeCmds": "ts-node --files --project Server/tsconfig.json ./Server/scripts/duplicateCommands.ts",
"dupeLangProps": "ts-node --files --project Server/tsconfig.json ./Server/scripts/duplicateLanguageProperties.ts",
"fetchMaps": "ts-node --files --project Server/tsconfig.json ./Server/scripts/fetchYearMaps.ts",
"centrifugo": "docker-compose up -d centrifugo",
"centrifugo:local": "./centrifugo --config=centrifugo-config.json -p=8001",
"database": "docker-compose up -d database",
"mariadb": "docker-compose exec database mariadb -u corsace -p",
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
"migration-dev": "NODE_ENV=development npm run -- typeorm migration:run -d ormconfig",
"migration": "npm run -- typeorm migration:run -d ormconfig",
"astro": "astro"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Corsace/Corsace.git"
},
"keywords": [
"osu",
"corsace",
"rhythm",
"game"
],
"author": "VINXIS",
"license": "MIT",
"bugs": {
"url": "https://github.com/Corsace/Corsace/issues"
},
"homepage": "https://github.com/Corsace/Corsace#readme"
}