This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
176 lines (176 loc) · 5.91 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
{
"name": "@favware/ribbon",
"version": "11.0.0",
"description": "feature rich, modular Discord.JS-Commando server bot",
"author": "@favware",
"license": "Unlicense",
"private": true,
"main": "./dist/app.js",
"homepage": "https://favware.tech/ribbon",
"repository": {
"type": "git",
"url": "git+https://github.com/favna/ribbon.git"
},
"bugs": {
"url": "https://github.com/favna/ribbon/issues"
},
"scripts": {
"lint": "eslint src scripts --fix --ext ts",
"clean": "rimraf ./dist ./tsconfig.tsbuildinfo",
"prebuild": "yarn lint",
"build": "tsc",
"postbuild": "yarn copyfiles && yarn replace",
"start": "cross-env NODE_ENV=development ts-node ./src/app.ts",
"start:prod": "cross-env NODE_ENV=production ts-node ./src/app.ts",
"start:js": "yarn build && cross-env NODE_ENV=development node ./dist/app.js",
"serve": "pm2 start pm2.ecosystem.yml --env production",
"serve:dev": "pm2 start pm2.ecosystem.yml",
"reload": "ts-node scripts/reloader.ts",
"rebuild": "yarn reload",
"copyfiles": "run-p copyfiles:**",
"replace": "run-s replace:**",
"predocs": "yarn docs:clean && yarn lint && yarn docs:build",
"docs": "run-p docs:**",
"postdocs": "yarn docs:clean",
"copyfiles:fonts": "copyfiles -u 1 ./src/data/fonts/* ./dist",
"copyfiles:databases": "copyfiles -u 1 ./src/data/databases/* ./dist",
"copyfiles:env": "copyfiles -u 1 ./src/.env ./dist",
"copyfiles:dex": "copyfiles -u 1 ./src/data/dex/*.json ./dist",
"replace:ts-flag": "replace --silent \"typescript: true,\" \"typescript: false,\" ./dist/Ribbon.js",
"replace:commands-path": "replace --silent \".registerCommandsIn\\({\\n\\s+dirname.+\\n\\s+filter.+\\n\\s+}\\);\" \".registerCommandsIn(path_1.default.join(__dirname, 'commands'));\" ./dist/Ribbon.js",
"replace:types-path": "replace --silent \".registerTypesIn\\({\\n\\s+dirname.+\\n\\s+filter.+\\n\\s+}\\)\" \".registerTypesIn(path_1.default.join(__dirname, 'components/commandoTypes'))\" ./dist/Ribbon.js",
"docs:clean": "rimraf ./docsbuild",
"docs:build": "tsc -p ./tsconfig.docs.json",
"docs:base": "jsdoc2md --template ./docs/template.hbs --files ./docsbuild/commands/**/*.js --example-lang nginx > ./docs/index.md",
"docs:wiki": "jsdoc2md --template ./docs/template.hbs --files ./docsbuild/commands/**/*.js --example-lang nginx > ../wikiribbon/All-Commands.md",
"docs:json": "jsdoc2md --json --files ./docsbuild/commands/**/*.js > ../website/src/assets/docs/ribbon.json",
"ci:build": "tsc",
"debug:build": "tsc && yarn postbuild",
"up": "yarn upgrade-interactive --latest",
"commit": "git-cz",
"cz": "git-cz",
"release": "standard-version",
"push": "git push --follow-tags origin master",
"publish": "git push --follow-tags origin master && npm publish",
"scripts:reload": "ts-node scripts/reloader"
},
"keywords": [
"bot",
"Commando",
"discord",
"discord.js",
"discord.js-commando",
"Favna",
"NodeJS",
"TypeScript",
"Ribbon"
],
"engines": {
"node": ">=11",
"npm": ">=6"
},
"dependencies": {
"@favware/converter": "^1.0.4",
"@favware/querystring": "^3.0.2",
"@favware/unescape": "^1.0.3",
"@favware/ytdl-prismplayer": "^2.2.0",
"@favware/zalgo": "^1.0.3",
"discord.js": "favna/discord.js#ribbon-djs",
"discord.js-commando": "favna/Commando#awesome-commando",
"booru": "^2.0.3",
"cheerio": "^1.0.0-rc.3",
"common-tags": "^1.8.0",
"didyoumean2": "^3.1.2",
"dotenv": "^8.1.0",
"emoji-regex": "^8.0.0",
"fast-levenshtein": "^2.0.6",
"firebase-admin": "8.4.0",
"fuse.js": "^3.4.5",
"i18next": "^17.0.11",
"interval-promise": "^1.3.0",
"jimp": "^0.6.4",
"libsodium-wrappers": "^0.7.5",
"module-alias": "^2.2.1",
"moment": "^2.24.0",
"moment-duration-format": "^2.3.2",
"node-fetch": "^2.6.0",
"opusscript": "^0.0.7",
"prism-media": "^1.0.2",
"qrcode": "^1.4.1",
"reflect-metadata": "^0.1.13",
"sagiri": "^2.0.2",
"slot-machine": "^2.1.0",
"speedtest-net": "^1.5.1",
"sqlite": "^3.0.3",
"sqlite3": "^4.1.0",
"table": "^5.4.6",
"turndown": "^5.0.3",
"typeorm": "^0.2.18",
"ytdl-core": "^0.29.5",
"zlib-sync": "^0.1.5"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@favware/eslint-config": "^3.0.2",
"@google-cloud/firestore": "^2.2.7",
"@types/cheerio": "^0.22.13",
"@types/common-tags": "^1.8.0",
"@types/dotenv": "^6.1.1",
"@types/fast-levenshtein": "^0.0.1",
"@types/glob": "^7.1.1",
"@types/jsonfile": "^5.0.0",
"@types/libsodium-wrappers": "^0.7.5",
"@types/module-alias": "^2.0.0",
"@types/moment-duration-format": "^2.2.2",
"@types/node": "^12.7.2",
"@types/node-fetch": "^2.5.0",
"@types/qrcode": "^1.3.4",
"@types/sqlite3": "^3.1.5",
"@types/table": "^4.0.6",
"@types/terser": "^3.12.0",
"@types/turndown": "^5.0.0",
"@types/ws": "^6.0.2",
"@types/yargs-interactive": "^2.1.0",
"chalk": "^2.4.2",
"copyfiles": "^2.1.1",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "3.0.2",
"eslint": "^6.2.1",
"glob": "^7.1.4",
"jsdoc-to-markdown": "^5.0.0",
"jsonfile": "^5.0.0",
"npm-run-all": "^4.1.5",
"replace": "^1.1.1",
"rimraf": "^3.0.0",
"standard-version": "^7.0.0",
"terser": "^4.2.0",
"ts-node": "^8.3.0",
"tslib": "^1.10.0",
"typescript": "^3.5.3",
"utility-types": "^3.7.0",
"yargs-interactive": "^2.1.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,tsx}": [
"yarn lint",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}