aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: c6a3f14c9b9d47ef572762f970d296a30ed76103 (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
{
  "name": "muse",
  "version": "1.5.0",
  "description": "🎧 a self-hosted Discord music bot that doesn't suck ",
  "repository": "[email protected]:codetheweb/muse.git",
  "author": "Max Isom <[email protected]>",
  "license": "MIT",
  "private": true,
  "types": "dts/types",
  "type": "module",
  "engines": {
    "node": ">=16.0.0"
  },
  "files": ["src"],
  "scripts": {
    "lint": "eslint \"src/**/*.{ts,tsx}\"",
    "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
    "test": "npm run lint",
    "start": "npm run env:set-database-url -- esmo src/scripts/migrate-and-start.ts",
    "cache:clear-key-value": "npm run env:set-database-url esmo src/scripts/cache-clear-key-value.ts",
    "dev": "nodemon",
    "migrations:generate": "npm run prisma:with-env migrate dev",
    "migrations:run": "npm run prisma:with-env migrate deploy",
    "prisma:with-env": "npm run env:set-database-url prisma",
    "env:set-database-url": "esmo src/scripts/run-with-database-url.ts",
    "release": "release-it"
  },
  "devDependencies": {
    "@release-it/keep-a-changelog": "^2.3.0",
    "@types/bluebird": "^3.5.35",
    "@types/debug": "^4.1.5",
    "@types/fluent-ffmpeg": "^2.1.17",
    "@types/fs-capacitor": "^2.0.0",
    "@types/node": "^17.0.0",
    "@types/node-emoji": "^1.8.1",
    "@types/spotify-web-api-node": "^5.0.2",
    "@types/validator": "^13.1.4",
    "@types/ws": "^8.2.2",
    "@typescript-eslint/eslint-plugin": "^4.31.1",
    "@typescript-eslint/parser": "^4.31.1",
    "eslint": "^7.32.0",
    "eslint-config-xo": "^0.39.0",
    "eslint-config-xo-typescript": "^0.44.0",
    "husky": "^4.3.8",
    "nodemon": "^2.0.7",
    "prisma": "^3.10.0",
    "release-it": "^14.11.8",
    "type-fest": "^2.8.0",
    "typescript": "^4.5.4"
  },
  "eslintConfig": {
    "extends": [
      "xo",
      "xo-typescript/space"
    ],
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
      "project": "./tsconfig.json"
    },
    "rules": {
      "new-cap": "off",
      "@typescript-eslint/no-unused-vars": "off",
      "@typescript-eslint/no-unused-vars-experimental": "error",
      "@typescript-eslint/prefer-readonly-parameter-types": "off",
      "@typescript-eslint/no-implicit-any-catch": "off"
    }
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm test"
    }
  },
  "dependencies": {
    "@discordjs/builders": "^0.12.0",
    "@discordjs/opus": "^0.7.0",
    "@discordjs/rest": "^0.3.0",
    "@discordjs/voice": "^0.8.0",
    "@prisma/client": "^3.10.0",
    "@types/libsodium-wrappers": "^0.7.9",
    "array-shuffle": "^3.0.0",
    "debug": "^4.3.3",
    "delay": "^5.0.0",
    "discord-api-types": "^0.29.0",
    "discord.js": "^13.6.0",
    "dotenv": "^16.0.0",
    "esmo": "0.14.1",
    "execa": "^6.1.0",
    "fluent-ffmpeg": "^2.1.2",
    "fs-capacitor": "^7.0.1",
    "get-youtube-id": "^1.0.1",
    "got": "^12.0.0",
    "hasha": "^5.2.2",
    "inversify": "^6.0.1",
    "iso8601-duration": "^1.3.0",
    "libsodium-wrappers": "^0.7.9",
    "make-dir": "^3.1.0",
    "node-emoji": "^1.10.0",
    "nodesplash": "^0.1.1",
    "ora": "^6.1.0",
    "p-event": "^5.0.1",
    "p-limit": "^4.0.0",
    "p-queue": "^7.2.0",
    "read-pkg": "7.1.0",
    "reflect-metadata": "^0.1.13",
    "spotify-uri": "^2.2.0",
    "spotify-web-api-node": "^5.0.2",
    "xbytes": "^1.7.0",
    "youtube.ts": "^0.2.5",
    "ytdl-core": "^4.11.0",
    "ytsr": "^3.6.0"
  }
}