aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 3efef1f43cccaed0b340be22109b784f7df0f0c4 (plain)
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
{
	"name": "bush-bot",
	"version": "3.0.1",
	"description": "A multipurpose moderation bot developed for Moulberry's Bush.",
	"main": "dist/src/bot.js",
	"type": "module",
	"repository": "https://github.com/NotEnoughUpdates/bush-bot-3.0",
	"author": "IRONM00N#0001 (@IRONM00N)",
	"contributors": [
		"Tyman#5998 (@TymanWasTaken)",
		"TrashCan#8913 (@TrashCan69420)",
		"tricked#3777 (@Tricked-dev)",
		"rioho#0001 (@riohorealhk)",
		"Proudmuslim#2900 (@proudmuslim-dev)",
		"katherine🌺#0668 (@Lisenaaaa)",
		"jani270#0119 (@jani270)",
		"pjones123#6025 (@pjones123)",
		"Angry_Pineapple#6926 (@Angry-Pineapple3121)",
		"EthanDevelops#5366 (@EthanDevelops)"
	],
	"license": "CC-BY-NC-SA-4.0",
	"imports": {
		"#lib": {
			"default": "./src/lib/index.js"
		},
		"#args": {
			"default": "./src/arguments/index.js"
		},
		"#commands": {
			"default": "./src/commands/index.js"
		}
	},
	"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 rimraf dist && yarn tsc --noEmit",
		"_start": "yarn build:esbuild && node --experimental-json-modules --no-warnings dist/src/bot.js",
		"start": "yarn build:tsc && node --experimental-json-modules --no-warnings dist/src/bot.js",
		"start:dry": "yarn build:tsc && node --experimental-json-modules --no-warnings dist/src/bot.js dry",
		"dev": "yarn build:tsc && node --experimental-json-modules --no-warnings dist/src/bot.js",
		"test": "yarn lint && yarn tsc --noEmit",
		"format": "yarn prettier . --write",
		"lint": "yarn eslint --ext js,jsx,ts,tsx src",
		"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/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.26.0 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",
		"deploy:production": "pm2 deploy ecosystem.config.cjs production",
		"deploy:all": "yarn beta && pm2 deploy ecosystem.config.cjs production && pm2 deploy ecosystem.config.cjs beta"
	},
	"dependencies": {
		"@notenoughupdates/discord.js-minesweeper": "^1.0.9",
		"@notenoughupdates/events-intercept": "^3.0.1",
		"@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.9.0",
		"chalk": "^5.0.0",
		"deep-lock": "^1.0.0",
		"discord-akairo": "npm:@notenoughupdates/discord-akairo@dev",
		"discord.js": "npm:@notenoughupdates/discord.js@dev",
		"fuse.js": "^6.5.3",
		"got": "^12.0.1",
		"lodash": "^4.17.21",
		"mathjs": "^10.1.0",
		"moment": "^2.29.1",
		"nanoid": "^3.2.0",
		"node-os-utils": "^1.3.6",
		"numeral": "^2.0.6",
		"pg": "^8.7.1",
		"pg-hstore": "^2.3.4",
		"prettier": "^2.5.1",
		"pretty-bytes": "^5.6.0",
		"rimraf": "^3.0.2",
		"sequelize": "^6.13.0",
		"source-map-support": "^0.5.21",
		"tinycolor2": "^1.4.2",
		"tslib": "^2.3.1",
		"typescript": "^4.5.4",
		"vm2": "^3.9.5"
	},
	"devDependencies": {
		"@types/eslint": "^8",
		"@types/express": "^4.17.13",
		"@types/lodash": "^4.14.178",
		"@types/node": "^17.0.10",
		"@types/node-os-utils": "^1.2.0",
		"@types/numeral": "^2.0.2",
		"@types/pg": "^8",
		"@types/prettier": "^2",
		"@types/rimraf": "^3",
		"@types/source-map-support": "^0",
		"@types/tinycolor2": "^1.4.3",
		"@types/validator": "^13.7.1",
		"@typescript-eslint/eslint-plugin": "^5.10.0",
		"@typescript-eslint/parser": "^5.10.0",
		"discord-api-types": "0.26.0",
		"eslint": "^8.7.0",
		"eslint-config-prettier": "^8.3.0",
		"eslint-plugin-deprecation": "^1.3.2"
	},
	"packageManager": "yarn@3.1.1"
}