aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 07f0810821b59a18511349c7a0219d2b008389ee (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
110
111
112
113
114
115
{
	"name": "bush-bot",
	"version": "3.0.0",
	"description": "A custom bot for Moulberry's Bush",
	"main": "dist/bot.js",
	"repository": "https://github.com/NotEnoughUpdates/bush-bot",
	"author": "Tyman, IRONM00N, and TrashCan",
	"license": "CC-BY-NC-SA-4.0",
	"scripts": {
		"build-esbuild": "yarn rimraf dist && yarn esbuild --sourcemap=inline --minify-whitespace --minify-syntax --outdir=dist --platform=node --target=es2020 --format=cjs src/**/*.ts",
		"build-tsc": "yarn rimraf dist && yarn tsc",
		"start": "yarn build-esbuild && node --trace-warnings -r source-map-support/register dist/bot.js",
		"dev": "yarn build-tsc && node --trace-warnings -r source-map-support/register dist/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": "rimraf yarn.lock && yarn cache clean && yarn install && yarn up"
	},
	"devDependencies": {
		"@types/common-tags": "^1.8.0",
		"@types/express": "^4.17.12",
		"@types/node": "^14.14.22",
		"@types/uuid": "^8.3.0",
		"@typescript-eslint/eslint-plugin": "^4.14.1",
		"@typescript-eslint/parser": "^4.14.1",
		"esbuild": "^0.12.11",
		"eslint": "^7.29.0",
		"eslint-config-prettier": "^8.3.0",
		"prettier": "^2.3.2",
		"rimraf": "^3.0.2",
		"source-map-support": "^0.5.19",
		"typescript": "4.2.4"
	},
	"dependencies": {
		"@discordjs/voice": "^0.4.0",
		"body-parser": "^1.19.0",
		"chalk": "^4.1.1",
		"common-tags": "^1.8.0",
		"discord-akairo": "NotEnoughUpdates/discord-akairo",
		"discord-api-types": "^0.18.1",
		"discord.js": "dev",
		"got": "^11.8.2",
		"moment": "^2.29.1",
		"pg": "^8.5.1",
		"pg-hstore": "^2.3.3",
		"sequelize": "^6.5.0",
		"uuid": "^8.3.2"
	},
	"eslintConfig": {
		"env": {
			"es2021": true,
			"node": true
		},
		"extends": [
			"eslint:recommended",
			"plugin:@typescript-eslint/recommended",
			"prettier"
		],
		"parser": "@typescript-eslint/parser",
		"parserOptions": {
			"ecmaVersion": 12,
			"sourceType": "module"
		},
		"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": 10
				}
			]
		}
	},
	"prettier": {
		"printWidth": 128,
		"useTabs": true,
		"quoteProps": "consistent",
		"singleQuote": true,
		"trailingComma": "none"
	},
	"dependenciesMeta": {
		"discord-akairo@8.2.2": {
			"unplugged": true
		},
		"discord.js@13.0.0-dev.5ad83a6a65e5944ceb3a41fee2df40ba1f5b03e4": {
			"unplugged": true
		},
		"discord.js@13.0.0-dev.e37ef3af2151e556527ccd8e98ec531bdcc0ed70": {
			"unplugged": true
		},
		"discord.js@13.0.0-dev.edab5af.1624996138": {
			"unplugged": true
		},
		"prettier@2.3.1": {
			"unplugged": true
		}
	}
}