aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 8e24daf1b499850ea894e9d9a7a8c7082da71161 (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
{
	"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": "MIT",
	"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"
	},
	"devDependencies": {
		"@types/common-tags": "^1.8.0",
		"@types/express": "^4.17.11",
		"@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.1",
		"eslint": "^7.18.0",
		"eslint-config-prettier": "^8.1.0",
		"prettier": "^2.2.1",
		"rimraf": "^3.0.2",
		"source-map-support": "^0.5.19",
		"typescript": "^4.2.4"
	},
	"dependencies": {
		"body-parser": "^1.19.0",
		"chalk": "^4.1.1",
		"common-tags": "^1.8.0",
		"discord-akairo": "SkyblockDev/discord-akairo#f6068977cc493884be781020d37109f15c8f7848",
		"discord-api-types": "^0.18.1",
		"discord.js": "discordjs/discord.js#f7643f7bbe64003ad8b221006190dd15529651e9",
		"got": "^11.8.1",
		"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",
			"node_modules"
		]
	},
	"prettier": {
		"printWidth": 170,
		"useTabs": true,
		"quoteProps": "consistent",
		"singleQuote": true,
		"trailingComma": "none"
	}
}