-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
243 lines (243 loc) · 8.81 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
{
"name": "@sonia-corporation/sonia-discord",
"version": "1.104.0",
"author": {
"email": "[email protected]",
"name": "Geoffrey 'C0ZEN' Testelin",
"url": "https://github.com/C0ZEN"
},
"contributors": [
{
"email": "[email protected]",
"name": "Geoffrey 'C0ZEN' Testelin",
"url": "https://github.com/C0ZEN"
},
{
"email": "[email protected]",
"name": "Vilteros",
"url": "https://github.com/vvalembois"
},
{
"email": "[email protected]",
"name": "Zoridg",
"url": "https://github.com/Zoridg"
},
{
"email": "[email protected]",
"name": "asmodee-bellanie",
"url": "https://github.com/asmodee-bellanie"
}
],
"description": "The Sonia application for Discord",
"homepage": "https://github.com/Sonia-corporation/sonia-discord",
"maintainers": [
{
"email": "[email protected]",
"name": "Geoffrey 'C0ZEN' Testelin",
"url": "https://github.com/C0ZEN"
}
],
"license": "MIT",
"keywords": [
"discord",
"bot",
"discord-bot",
"sonia",
"node",
"express",
"heroku"
],
"repository": {
"type": "git",
"url": "https://github.com/Sonia-corporation/sonia-discord.git"
},
"bugs": {
"url": "https://github.com/Sonia-corporation/sonia-discord/issues"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": "./scripts/commitizen.cjs"
}
},
"majestic": {
"env": {
"CI": "true"
}
},
"elf": {
"cli": {
"repoTemplate": "class",
"inlineStoreInClass": true
}
},
"engines": {
"node": "16.19.0",
"npm": "8.19.3"
},
"private": false,
"files": [
"dist/index.js",
"dist/index.js.map",
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"LICENSE",
"package.json",
"package-lock.json",
"README.md"
],
"main": "./src/index.ts",
"targets": {
"main": false,
"default": {
"includeNodeModules": false
}
},
"scripts": {
"\n# RUN SCRIPTS:": "",
"start": "cross-env NODE_ENV=development ts-node-dev --debounce --clear --cache-directory dist-local-dev --respawn --transpile-only .",
"start:prod": "npm run build && npm run run:prod",
"start:local-prod": "npm run build && npm run run:local-prod",
"\n# BUILD SCRIPTS:": "",
"build": "npm run clean:dist && parcel build ./src/index.ts && npm run concurrently -- --prefix-colors green,cyan \"npm:build:environment\" \"npm:build:firebase-service-account\"",
"build:environment": "npm run build:environment:create && npm run concurrently -- --prefix-colors green,cyan,red \"npm:build:environment:copy\" \"npm:build:environment:rewrite-path\" \"npm:build:update-app-initialization-date\"",
"build:environment:copy": "node scripts/build-environment-copy.mjs",
"build:environment:create": "node scripts/build-environment-create.mjs",
"build:environment:rewrite-path": "node scripts/build-environment-rewrite-path.mjs",
"build:update-app-initialization-date": "node ./scripts/build-update-app-initialization-date.mjs",
"build:firebase-service-account": "npm run build:firebase-service-account:create && npm run build:firebase-service-account:copy",
"build:firebase-service-account:copy": "node scripts/build-firebase-service-account-copy.mjs",
"build:firebase-service-account:create": "node scripts/build-firebase-service-account-create.mjs",
"run:prod": "cross-env NODE_ENV=production node ./dist/index.js --prod true",
"run:local-prod": "cross-env NODE_ENV=production GOOGLE_APPLICATION_CREDENTIALS=./dist/firebase-service-account-file.json SHOULD_DISPLAY_MORE_DEBUG_LOGS=true node ./dist/index.js --prod true",
"tsc": "tsc",
"\n# TEST SCRIPTS:": "",
"test": "jest",
"test:watch": "jest --watch-all",
"test:watch:no-cache": "jest --watch-all --no-cache",
"test:majestic": "majestic --port 3002 --no-open",
"test:leaks": "jest --detect-leaks",
"test:ci": "jest --bail=1 --ci --max-workers=100%",
"test:ci:coverage": "jest --collect-coverage --bail=1 --ci --max-workers=100%",
"test:mutant": "stryker run",
"test:mutant:ci": "stryker run --fileLogLevel fatal --logLevel fatal --reporters clear-text,progress,dashboard",
"test:clear-cache": "jest --clear-cache",
"\n# LINT SCRIPTS:": "",
"lint:ts": "eslint --fix --fix-type suggestion,layout,problem --cache --cache-location .eslintcache --quiet **/*.{js,ts}",
"lint:ts:ci": "eslint --quiet **/*.{js,ts}",
"lint:ts:hook": "eslint --fix --fix-type suggestion,layout,problem --cache --cache-location .eslintcache --quiet",
"lint:other": "prettier --write --ignore-unknown **/*.{md,json,yml,html}",
"lint:other:ci": "prettier --check --ignore-unknown **/*.{md,json,yml,html}",
"lint:other:hook": "prettier --write --ignore-unknown --loglevel warn",
"lint:all": "npm run concurrently -- --prefix-colors blue,magenta \"npm:lint:ts\" \"npm:lint:other\"",
"lint:all:ci": "npm run concurrently -- --prefix-colors blue,magenta \"npm:lint:ts:ci\" \"npm:lint:other:ci\"",
"\n# UTILS SCRIPTS:": "",
"cz": "git add . && git-cz && npm run git:push",
"semver": "semantic-release",
"clean:dist": "rimraf dist",
"commit": "npm run cz",
"create-secret-environment": "node scripts/create-secret-environment.mjs",
"git:push": "git push-upstream",
"madge:circular-dependencies-check": "madge ./src/ --circular --extensions ts,js --image ./dist/circular-dependencies-graph.svg --warning",
"madge:image": "madge ./src/ --extensions ts,js --image ./dist/graph.svg --warning",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"concurrently": "concurrently --kill-others-on-fail --prefix [{name}][{time}] --timestamp-format HH:mm:ss --timings",
"prepare": "husky install",
"pre-commit": "lint-staged",
"commit-msg": "cross-env LOGGING_LEVEL=debug cz-customizable-ghooks",
"post-commit": "git update-index --again",
"install-git-hooks": "husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks"
},
"dependencies": {
"@ngneat/effects": "1.1.1",
"@ngneat/elf": "2.3.0",
"@ngneat/elf-entities": "4.4.3",
"@scout_apm/scout-apm": "0.2.3",
"app-root-path": "3.1.0",
"axios": "1.1.3",
"chalk": "4.1.2",
"compare-versions": "5.0.3",
"discord.js": "14.7.1",
"dotenv": "16.0.3",
"express": "4.18.2",
"firebase-admin": "11.4.1",
"fs-extra": "11.1.0",
"humanize-plus": "1.8.2",
"lodash": "4.17.21",
"moment": "2.29.4",
"moment-timezone": "0.5.40",
"node-schedule": "2.1.0",
"rxjs": "7.8.0",
"xregexp": "5.1.1"
},
"devDependencies": {
"@ngneat/elf-cli-ng": "1.0.0",
"@semantic-release/changelog": "6.0.2",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "8.0.7",
"@sonia-corporation/conventional-changelog": "1.3.0",
"@stryker-mutator/core": "6.3.1",
"@stryker-mutator/jest-runner": "6.3.1",
"@stryker-mutator/typescript-checker": "6.3.1",
"@types/app-root-path": "1.2.4",
"@types/express": "4.17.17",
"@types/faker": "5.5.9",
"@types/fs-extra": "9.0.13",
"@types/humanize-plus": "1.8.0",
"@types/jest": "29.2.6",
"@types/lodash": "4.14.191",
"@types/node": "14.18.36",
"@types/node-schedule": "2.1.0",
"@types/ws": "8.5.4",
"@types/xregexp": "4.3.0",
"@typescript-eslint/eslint-plugin": "5.48.2",
"@typescript-eslint/parser": "5.48.2",
"all-contributors-cli": "6.24.0",
"commitizen": "4.3.0",
"concurrently": "7.6.0",
"cross-env": "7.0.3",
"cz-customizable": "7.0.0",
"cz-customizable-ghooks": "2.0.0",
"eslint": "8.30.0",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-recommended": "4.1.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-jsdoc": "39.6.10",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-progress": "0.0.1",
"eslint-plugin-rxjs": "5.0.2",
"eslint-plugin-typescript-sort-keys": "2.1.0",
"faker": "5.5.3",
"husky": "8.0.3",
"jest": "29.3.1",
"jest-extended": "3.2.4",
"jest-silent-reporter": "0.5.0",
"jest-ts-auto-mock": "2.1.0",
"lint-staged": "13.1.2",
"madge": "5.0.1",
"majestic": "1.8.1",
"node-notifier": "10.0.1",
"parcel": "2.8.2",
"prettier": "2.8.3",
"pug": "3.0.2",
"rimraf": "3.0.2",
"semantic-release": "19.0.5",
"shx": "0.3.4",
"stryker-cli": "1.0.2",
"ts-auto-mock": "3.6.4",
"ts-jest": "29.0.5",
"ts-node-dev": "2.0.0",
"tsconfig-paths": "4.1.1",
"ttypescript": "1.5.15",
"type-fest": "3.5.2",
"typescript": "4.9.4",
"weak-napi": "2.0.2"
}
}