aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 7d93ea5872e59928ca0cb585d315e2a6b25f0772 (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
{
  "name": "muse",
  "version": "0.1.0",
  "description": "🎧 a self-hosted Discord music bot that doesn't suck ",
  "exports": "./dist/index.js",
  "repository": "[email protected]:codetheweb/muse.git",
  "author": "Max Isom <[email protected]>",
  "license": "MIT",
  "private": true,
  "types": "dts/types",
  "type": "module",
  "engines": {
    "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
  },
  "files": [
    "dist",
    "dts"
  ],
  "scripts": {
    "lint": "eslint 'src/**/*.ts'",
    "lint:fix": "eslint 'src/**/*.ts' --fix",
    "clean": "rm -rf dist dts",
    "test": "npm run lint",
    "build": "tsc",
    "watch": "tsc --watch",
    "prepack": "npm run clean && npm run build",
    "start": "node dist/index.js",
    "dev": "nodemon",
    "docker-publish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t codetheweb/muse:latest --push ."
  },
  "devDependencies": {
    "@types/bluebird": "^3.5.35",
    "@types/debug": "^4.1.5",
    "@types/fluent-ffmpeg": "^2.1.17",
    "@types/fs-capacitor": "^2.0.0",
    "@types/node": "^14.14.41",
    "@types/node-emoji": "^1.8.1",
    "@types/spotify-web-api-node": "^5.0.2",
    "@types/validator": "^13.1.4",
    "@types/ws": "^7.4.4",
    "@typescript-eslint/eslint-plugin": "^4.25.0",
    "@typescript-eslint/parser": "^4.26.1",
    "eslint": "^7.28.0",
    "eslint-config-xo": "^0.35.0",
    "eslint-config-xo-typescript": "^0.36.0",
    "husky": "^4.3.8",
    "nodemon": "^2.0.7",
    "ts-node": "^9.1.1",
    "typescript": "^4.3.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"
    }
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm test && yarn build"
    }
  },
  "dependencies": {
    "@discordjs/opus": "^0.5.3",
    "array-shuffle": "^2.0.0",
    "debug": "^4.3.1",
    "delay": "^5.0.0",
    "discord.js": "^12.5.3",
    "dotenv": "^8.5.1",
    "fluent-ffmpeg": "^2.1.2",
    "fs-capacitor": "^6.2.0",
    "get-youtube-id": "^1.0.1",
    "got": "^11.8.2",
    "hasha": "^5.2.2",
    "inversify": "^5.1.1",
    "iso8601-duration": "^1.3.0",
    "make-dir": "^3.1.0",
    "node-emoji": "^1.10.0",
    "p-event": "^4.2.0",
    "p-limit": "^3.1.0",
    "p-queue": "^7.1.0",
    "reflect-metadata": "^0.1.13",
    "sequelize": "^5.22.4",
    "sequelize-typescript": "^1.1.0",
    "spotify-uri": "^2.2.0",
    "spotify-web-api-node": "^5.0.2",
    "sqlite3": "^5.0.2",
    "youtube.ts": "^0.2.2",
    "ytdl-core": "^4.9.1",
    "ytsr": "^3.5.3"
  }
}