-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
216 lines (216 loc) · 7.78 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
{
"name": "@sonia-corporation/sonia-discord",
"version": "1.91.0",
"author": {
"email": "geoffrey.testelin@gmail.com",
"name": "Geoffrey 'C0ZEN' Testelin",
"url": "https://github.com/C0ZEN"
},
"contributors": [
{
"email": "geoffrey.testelin@gmail.com",
"name": "Geoffrey 'C0ZEN' Testelin",
"url": "https://github.com/C0ZEN"
},
{
"email": "vincent.valembois62@gmail.com",
"name": "Vilteros",
"url": "https://github.com/vvalembois"
},
{
"email": "nathan.bergamini@gmail.com",
"name": "Zoridg",
"url": "https://github.com/Zoridg"
},
{
"email": "asmodee.bellanie@gmail.com",
"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": "geoffrey.testelin@gmail.com",
"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.js"
}
},
"majestic": {
"env": {
"CI": "true"
}
},
"akitaCli": {
"template": "ts"
},
"engines": {
"node": ">=12.x",
"npm": ">=6"
},
"private": false,
"files": [
"dist/*",
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"LICENSE",
"package.json",
"package-lock.json",
"README.md"
],
"main": "./src/index.ts",
"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 --target node && npm run concurrently -- \"npm:build:environment\" \"npm:build:firebase-service-account\" --prefix-colors green,cyan",
"build:environment": "npm run build:environment:create && npm run concurrently -- \"npm:build:environment:copy\" \"npm:build:environment:rewrite-path\" \"npm:build:update-app-initialization-date\" --prefix-colors green,cyan,red",
"build:environment:copy": "node scripts/build-environment-copy.js",
"build:environment:create": "node scripts/build-environment-create.js",
"build:environment:rewrite-path": "node ./scripts/build-environment-rewrite-path.js",
"build:update-app-initialization-date": "node ./scripts/build-update-app-initialization-date",
"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.js",
"build:firebase-service-account:create": "node scripts/build-firebase-service-account-create.js",
"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 node ./dist/index.js --prod true",
"tsc": "tsc",
"\n# TEST SCRIPTS:": "",
"test": "jest",
"test:watch": "jest --watch-all --unhandled-rejections=strict",
"test:watch:no-cache": "jest --watch-all --no-cache",
"test:majestic": "majestic --port 3002 --no-open",
"test:leaks": "jest --unhandled-rejections=strict --detect-leaks",
"test:ci": "jest --bail=1 --ci",
"test:ci:coverage": "jest --collect-coverage --bail=1 --ci",
"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": "eslint --fix --fix-type suggestion,layout,problem --cache --cache-location .eslintcache --quiet **/*.{js,ts}",
"lint:hook": "eslint --fix --fix-type suggestion,layout,problem --cache --cache-location .eslintcache --quiet",
"lint:ci": "eslint --quiet **/*.{js,ts}",
"prettier": "prettier --write --ignore-unknown **/*.{md,json,yml}",
"prettier:hook": "prettier --write --ignore-unknown --loglevel warn",
"\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.js",
"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'"
},
"dependencies": {
"@datorama/akita": "5.3.0",
"@scout_apm/scout-apm": "0.2.2",
"axios": "0.21.1",
"discord.js": "12.5.1",
"dotenv": "8.2.0",
"express": "4.17.1",
"firebase-admin": "9.4.2",
"lodash": "4.17.21",
"moment": "2.29.1",
"moment-timezone": "0.5.33",
"node-schedule": "1.3.3",
"rxjs": "6.6.7",
"xregexp": "5.0.2"
},
"devDependencies": {
"@datorama/akita-cli": "6.1.1",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@semantic-release/github": "7.2.1",
"@sonia-corporation/conventional-changelog": "1.0.1",
"@stryker-mutator/core": "4.6.0",
"@stryker-mutator/jest-runner": "4.6.0",
"@stryker-mutator/typescript-checker": "4.6.0",
"@types/app-root-path": "1.2.4",
"@types/express": "4.17.11",
"@types/fs-extra": "9.0.7",
"@types/jest": "26.0.20",
"@types/lodash": "4.14.168",
"@types/node": "14.14.31",
"@types/node-schedule": "1.3.1",
"@types/ws": "7.4.0",
"@types/xregexp": "4.3.0",
"@typescript-eslint/eslint-plugin": "4.22.0",
"@typescript-eslint/parser": "4.22.0",
"all-contributors-cli": "6.20.0",
"app-root-path": "3.0.0",
"chalk": "4.1.1",
"commitizen": "4.2.3",
"concurrently": "5.3.0",
"cross-env": "7.0.3",
"crypto-random-string": "3.3.1",
"cz-customizable": "6.3.0",
"cz-customizable-ghooks": "2.0.0",
"eslint": "7.25.0",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "8.1.0",
"eslint-config-recommended": "4.1.0",
"eslint-import-resolver-typescript": "2.4.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.10",
"eslint-plugin-jsdoc": "32.3.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-progress": "0.0.1",
"eslint-plugin-rxjs": "3.1.5",
"eslint-plugin-typescript-sort-keys": "1.6.0",
"fs-extra": "9.1.0",
"husky": "4.3.8",
"jest": "26.6.3",
"jest-extended": "0.11.5",
"jest-silent-reporter": "0.5.0",
"jest-ts-auto-mock": "2.0.0",
"lint-staged": "10.5.4",
"madge": "4.0.2",
"majestic": "1.8.0",
"parcel-bundler": "1.12.5",
"prettier": "2.2.1",
"pug": "3.0.1",
"rimraf": "3.0.2",
"semantic-release": "17.4.2",
"stryker-cli": "1.0.0",
"ts-auto-mock": "3.1.3",
"ts-jest": "26.5.5",
"ts-node-dev": "1.1.6",
"tsconfig-paths": "3.9.0",
"ttypescript": "1.5.12",
"typescript": "4.1.5",
"weak-napi": "2.0.2"
}
}