aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-20 23:07:02 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-20 23:07:02 -0400
commitb81f9e8b73cb520ad5ae916c3e571ea55f4ca489 (patch)
tree25d7f42d66c3e3190022ece043c86082a9e85709 /package.json
parentf2e5cfff7dc275bd93fac446a508b7d18ecd6c58 (diff)
downloadtanzanite-b81f9e8b73cb520ad5ae916c3e571ea55f4ca489.tar.gz
tanzanite-b81f9e8b73cb520ad5ae916c3e571ea55f4ca489.tar.bz2
tanzanite-b81f9e8b73cb520ad5ae916c3e571ea55f4ca489.zip
fix ts composite shit, replace got with native fetch, update deps
Diffstat (limited to 'package.json')
-rw-r--r--package.json58
1 files changed, 29 insertions, 29 deletions
diff --git a/package.json b/package.json
index 0358079..2c2db00 100644
--- a/package.json
+++ b/package.json
@@ -21,21 +21,18 @@
],
"license": "CC-BY-NC-SA-4.0",
"scripts": {
- "build:esbuild": "yarn rimraf dist && yarn esbuild --sourcemap=inline --outdir=dist --platform=node --target=es2020 --format=esm --log-level=warning src/**/*.ts",
- "build:tsc": "yarn rimraf dist && yarn tsc",
- "build:tsc:no-emit": "yarn tsc --noEmit",
- "build:keep": "yarn tsc",
- "start:raw": "node --enable-source-maps --experimental-json-modules --no-warnings dist/src/bot.js",
- "start:esbuild": "yarn build:esbuild && yarn start:raw",
- "start": "yarn build:tsc && yarn start:raw",
+ "build": "yarn rimraf dist && yarn tsc -b",
+ "build:no-emit": "yarn tsc --noEmit",
+ "build:keep": "yarn tsc -b",
+ "start": "yarn build && yarn start:raw",
"start:keep": "yarn build:keep && yarn start:raw",
"start:dry": "yarn start dry",
- "dev": "yarn build:tsc && yarn start:raw",
- "test": "yarn lint && yarn tsc --noEmit",
+ "start:raw": "node --enable-source-maps --experimental-json-modules --no-warnings dist/src/bot.js",
+ "test": "yarn lint && yarn build:no-emit",
"format": "yarn prettier . --write",
- "lint": "yarn eslint src lib config tests",
"format:check": "yarn prettier . --check",
- "upgrade": "yarn rimraf yarn.lock && yarn cache clean && yarn install && yarn up && yarn up -R && yarn set version latest && git submodule update --recursive --remote",
+ "lint": "yarn eslint src lib config tests",
+ "upgrade": "yarn rimraf yarn.lock && yarn cache clean && yarn install && yarn set version latest && git submodule update --recursive --remote && yarn upgrade-interactive",
"upgrade:sdk": "yarn dlx @yarnpkg/sdks vscode",
"beta": "git push && git checkout beta && git merge master && git push && git checkout master",
"deploy:beta": "pm2 deploy ecosystem.config.cjs beta",
@@ -46,8 +43,11 @@
"#lib": {
"default": "./lib/index.js"
},
- "#constants": {
- "default": "./lib/utils/BushConstants.js"
+ "#lib/*": {
+ "default": "./lib/*"
+ },
+ "#src/*": {
+ "default": "./src/*"
},
"#args": {
"default": "./lib/arguments/index.js"
@@ -57,6 +57,9 @@
},
"#tags": {
"default": "./lib/common/tags.js"
+ },
+ "#config": {
+ "default": "./config/index.js"
}
},
"dependencies": {
@@ -68,9 +71,9 @@
"@notenoughupdates/humanize-duration": "^4.0.1",
"@notenoughupdates/simplify-number": "^1.0.1",
"@notenoughupdates/wolfram-alpha-api": "^1.0.2",
- "@sentry/integrations": "^7.9.0",
- "@sentry/node": "^7.9.0",
- "@sentry/tracing": "^7.9.0",
+ "@sentry/integrations": "^7.11.1",
+ "@sentry/node": "^7.11.1",
+ "@sentry/tracing": "^7.11.1",
"canvas": "^2.9.3",
"chalk": "^5.0.1",
"deep-lock": "^1.0.0",
@@ -79,8 +82,7 @@
"discord.js": "npm:@notenoughupdates/discord.js@forum",
"fuse.js": "^6.6.2",
"gif-to-apng": "^0.1.2",
- "googleapis": "^105.0.0",
- "got": "^12.3.1",
+ "googleapis": "^107.0.0",
"lodash": "^4.17.21",
"mathjs": "^11.0.1",
"nanoid": "^4.0.0",
@@ -90,34 +92,32 @@
"prettier": "^2.7.1",
"pretty-bytes": "^6.0.0",
"rimraf": "^3.0.2",
- "sequelize": "6.21.3",
+ "sequelize": "6.21.4",
"tinycolor2": "^1.4.2",
"typescript": "^4.7.4",
"vm2": "^3.9.10"
},
"devDependencies": {
"@sapphire/snowflake": "^3.2.2",
- "@sentry/types": "^7.9.0",
- "@types/eslint": "^8.4.5",
+ "@sentry/types": "^7.11.1",
+ "@types/eslint": "^8.4.6",
"@types/express": "^4.17.13",
- "@types/lodash": "^4.14.182",
- "@types/node": "^18.6.5",
+ "@types/lodash": "^4.14.184",
+ "@types/node": "^18.7.8",
"@types/numeral": "^2.0.2",
"@types/pg": "^8.6.5",
"@types/prettier": "^2.7.0",
"@types/rimraf": "^3.0.2",
"@types/tinycolor2": "^1.4.3",
"@types/validator": "^13.7.5",
- "@typescript-eslint/eslint-plugin": "^5.33.0",
- "@typescript-eslint/parser": "^5.33.0",
- "electron": "^20.0.1",
- "eslint": "^8.21.0",
+ "@typescript-eslint/eslint-plugin": "^5.33.1",
+ "@typescript-eslint/parser": "^5.33.1",
+ "eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-deprecation": "^1.3.2",
- "eslint-plugin-import": "^2.26.0",
"node-fetch": "^3.2.10",
"ts-essentials": "^9.2.0",
- "vitest": "^0.21.1"
+ "vitest": "^0.22.1"
},
"packageManager": "yarn@3.2.2",
"resolutions": {