aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-20 22:50:45 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-20 22:50:45 -0500
commit8fb88c737e49321ff2b612a9d0e0e059c64c272a (patch)
tree6d22573479b7e7e047eceb85dbb7520b616a5a45 /package.json
parentd4a401ed2315a7b5e7dfa390836f2ebae1299976 (diff)
downloadtanzanite-8fb88c737e49321ff2b612a9d0e0e059c64c272a.tar.gz
tanzanite-8fb88c737e49321ff2b612a9d0e0e059c64c272a.tar.bz2
tanzanite-8fb88c737e49321ff2b612a9d0e0e059c64c272a.zip
do some fixes or something
Diffstat (limited to 'package.json')
-rw-r--r--package.json121
1 files changed, 10 insertions, 111 deletions
diff --git a/package.json b/package.json
index 4d27682..a4afd19 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "bush-bot",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "A multipurpose moderation bot developed for Moulberry's Bush.",
"main": "dist/src/bot.js",
"type": "module",
@@ -37,7 +37,7 @@
"format:check": "yarn prettier . --check",
"upgrade": "yarn rimraf yarn.lock && yarn cache clean && yarn install && yarn up && yarn up -R && yarn set version latest",
"upgrade:sdk": "yarn dlx @yarnpkg/sdks vscode",
- "upgrade:manual": "yarn add @notenoughupdates/discord.js-minesweeper @notenoughupdates/events-intercept @notenoughupdates/humanize-duration @notenoughupdates/simplify-number @notenoughupdates/wolfram-alpha-api @sentry/node @sentry/tracing canvas deep-lock chalk discord-akairo@npm:@notenoughupdates/discord-akairo@dev discord.js@npm:@notenoughupdates/discord.js@dev fuse.js got lodash mathjs moment nanoid node-os-utils numeral pg pg-hstore prettier pretty-bytes rimraf sequelize source-map-support tinycolor2 tslib typescript vm2 && yarn add --dev @types/express @types/lodash @types/node @types/node-os-utils @types/numeral @types/tinycolor2 @types/validator @typescript-eslint/eslint-plugin @typescript-eslint/parser discord-api-types@0.25.2 eslint eslint-config-prettier",
+ "upgrade:manual": "yarn add @notenoughupdates/discord.js-minesweeper @notenoughupdates/events-intercept @notenoughupdates/humanize-duration @notenoughupdates/simplify-number @notenoughupdates/wolfram-alpha-api @sentry/integrations @sentry/node @sentry/tracing canvas deep-lock chalk discord-akairo@npm:@notenoughupdates/discord-akairo@dev discord.js@npm:@notenoughupdates/discord.js@dev fuse.js got lodash mathjs moment nanoid node-os-utils numeral pg pg-hstore prettier pretty-bytes rimraf sequelize source-map-support tinycolor2 tslib typescript vm2 && yarn add --dev @types/express @types/lodash @types/node @types/node-os-utils @types/numeral @types/tinycolor2 @types/validator @typescript-eslint/eslint-plugin @typescript-eslint/parser discord-api-types@0.25.2 eslint eslint-config-prettier",
"upgrade:package": "powershell -c \"yarn info --name-only | %{\\$_ -replace '^(?:├─ |└─ )?(@?[a-z0-9-~][a-z0-9-._~/]{0,}(?=.*(npm:(?!.*dev)|patch:.*?@npm).*))|.*\\$','\\$1'} | where{[string]::IsNullOrEmpty(\\$_) -eq \\$false} | yarn add\"",
"beta": "git push && git checkout beta && git merge master && git push && git checkout master",
"deploy:beta": "pm2 deploy ecosystem.config.cjs beta",
@@ -50,6 +50,7 @@
"@notenoughupdates/humanize-duration": "^4.0.1",
"@notenoughupdates/simplify-number": "^1.0.1",
"@notenoughupdates/wolfram-alpha-api": "^1.0.1",
+ "@sentry/integrations": "^6.16.1",
"@sentry/node": "^6.16.1",
"@sentry/tracing": "^6.16.1",
"canvas": "^2.8.0",
@@ -70,7 +71,7 @@
"prettier": "^2.5.1",
"pretty-bytes": "^5.6.0",
"rimraf": "^3.0.2",
- "sequelize": "^6.12.0-beta.3",
+ "sequelize": "^6.12.0",
"source-map-support": "^0.5.21",
"tinycolor2": "^1.4.2",
"tslib": "^2.3.1",
@@ -81,7 +82,7 @@
"@types/eslint": "^8",
"@types/express": "^4.17.13",
"@types/lodash": "^4.14.178",
- "@types/node": "^16.11.12",
+ "@types/node": "^17.0.1",
"@types/node-os-utils": "^1.2.0",
"@types/numeral": "^2.0.2",
"@types/pg": "^8",
@@ -90,114 +91,12 @@
"@types/source-map-support": "^0",
"@types/tinycolor2": "^1.4.3",
"@types/validator": "^13.7.0",
- "@typescript-eslint/eslint-plugin": "^5.7.0",
- "@typescript-eslint/parser": "^5.7.0",
+ "@typescript-eslint/eslint-plugin": "^5.8.0",
+ "@typescript-eslint/parser": "^5.8.0",
"discord-api-types": "0.25.2",
- "eslint": "^8.4.1",
- "eslint-config-prettier": "^8.3.0"
- },
- "eslintConfig": {
- "env": {
- "es2021": true,
- "node": true
- },
- "extends": [
- "eslint:recommended",
- "plugin:@typescript-eslint/recommended",
- "prettier"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 12,
- "sourceType": "module",
- "project": "./tsconfig.json"
- },
- "plugins": [
- "@typescript-eslint"
- ],
- "ignorePatterns": [
- "dist"
- ],
- "rules": {
- "no-return-await": "off",
- "@typescript-eslint/no-empty-interface": "warn",
- "no-mixed-spaces-and-tabs": "off",
- "no-duplicate-imports": "warn",
- "no-empty-function": "off",
- "@typescript-eslint/no-empty-function": "off",
- "no-empty": "off",
- "@typescript-eslint/ban-ts-comment": [
- "error",
- {
- "ts-expect-error": "allow-with-description",
- "ts-ignore": "allow-with-description",
- "ts-nocheck": "allow-with-description",
- "ts-check": "allow-with-description",
- "minimumDescriptionLength": 5
- }
- ],
- "@typescript-eslint/no-floating-promises": "warn",
- "prefer-promise-reject-errors": "warn",
- "@typescript-eslint/no-misused-promises": "error",
- "@typescript-eslint/no-base-to-string": "error",
- "no-loss-of-precision": "off",
- "@typescript-eslint/no-loss-of-precision": "error",
- "no-throw-literal": "off",
- "@typescript-eslint/no-throw-literal": "warn",
- "@typescript-eslint/prefer-nullish-coalescing": "warn",
- "@typescript-eslint/no-explicit-any": "off",
- "@typescript-eslint/no-non-null-assertion": "off",
- "@typescript-eslint/explicit-module-boundary-types": "off",
- "prefer-template": "warn",
- "@typescript-eslint/no-this-alias": [
- "error",
- {
- "allowDestructuring": true,
- "allowedNames": [
- "that"
- ]
- }
- ],
- "@typescript-eslint/no-unused-vars": [
- "warn",
- {
- "argsIgnorePattern": "^_"
- }
- ],
- "no-implied-eval": "off",
- "@typescript-eslint/no-implied-eval": [
- "error"
- ]
- }
- },
- "prettier": {
- "printWidth": 130,
- "useTabs": true,
- "quoteProps": "consistent",
- "singleQuote": true,
- "trailingComma": "none",
- "endOfLine": "lf",
- "overrides": [
- {
- "files": [
- "*BushClientEvents.d.ts"
- ],
- "options": {
- "printWidth": 80
- }
- },
- {
- "files": [
- "badwords.ts",
- "badlinks.ts",
- "badlinks-secret.ts"
- ],
- "options": {
- "singleQuote": false,
- "trailingComma": "es5"
- }
- }
- ]
+ "eslint": "^8.5.0",
+ "eslint-config-prettier": "^8.3.0",
+ "eslint-plugin-deprecation": "^1.3.2"
},
"packageManager": "yarn@3.1.1"
}