2020-03-09 17:57:39 +01:00
|
|
|
{
|
|
|
|
"name": "muse",
|
2022-02-02 02:54:43 +01:00
|
|
|
"version": "0.5.4",
|
2020-03-09 17:57:39 +01:00
|
|
|
"description": "🎧 a self-hosted Discord music bot that doesn't suck ",
|
2021-12-14 02:11:14 +01:00
|
|
|
"exports": "./dist/src/index.js",
|
2020-03-09 17:57:39 +01:00
|
|
|
"repository": "git@github.com:codetheweb/muse.git",
|
|
|
|
"author": "Max Isom <hi@maxisom.me>",
|
|
|
|
"license": "MIT",
|
|
|
|
"private": true,
|
|
|
|
"types": "dts/types",
|
2021-09-20 04:04:34 +02:00
|
|
|
"type": "module",
|
|
|
|
"engines": {
|
2021-11-12 20:30:18 +01:00
|
|
|
"node": ">=16.0.0"
|
2021-09-20 04:04:34 +02:00
|
|
|
},
|
2020-03-09 17:57:39 +01:00
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"dts"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2022-02-05 23:16:17 +01:00
|
|
|
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
|
|
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
|
2020-03-09 17:57:39 +01:00
|
|
|
"clean": "rm -rf dist dts",
|
2020-10-24 21:19:35 +02:00
|
|
|
"test": "npm run lint",
|
2020-03-09 17:57:39 +01:00
|
|
|
"build": "tsc",
|
2021-12-14 02:11:14 +01:00
|
|
|
"build:watch": "tsc --watch",
|
2020-10-24 21:19:35 +02:00
|
|
|
"prepack": "npm run clean && npm run build",
|
2022-01-05 21:30:32 +01:00
|
|
|
"start": "npm run env:set-database-url -- node --experimental-json-modules dist/src/scripts/migrate-and-start.js",
|
2022-01-07 20:47:53 +01:00
|
|
|
"cache:clear-key-value": "npm run env:set-database-url node dist/src/scripts/cache-clear-key-value.js",
|
2021-11-19 18:02:33 +01:00
|
|
|
"dev": "concurrently nodemon 'tsc --watch'",
|
2022-01-05 21:47:02 +01:00
|
|
|
"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",
|
2022-01-05 21:30:32 +01:00
|
|
|
"env:set-database-url": "node dist/src/scripts/run-with-database-url.js",
|
2021-12-18 19:29:50 +01:00
|
|
|
"release": "release-it"
|
2020-03-09 17:57:39 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-18 19:29:50 +01:00
|
|
|
"@release-it/keep-a-changelog": "^2.3.0",
|
2021-05-19 12:31:22 +02:00
|
|
|
"@types/bluebird": "^3.5.35",
|
2020-03-17 23:59:26 +01:00
|
|
|
"@types/debug": "^4.1.5",
|
2021-04-06 12:42:17 +02:00
|
|
|
"@types/fluent-ffmpeg": "^2.1.17",
|
2020-03-14 02:36:42 +01:00
|
|
|
"@types/fs-capacitor": "^2.0.0",
|
2021-12-16 11:03:16 +01:00
|
|
|
"@types/node": "^17.0.0",
|
2020-03-25 23:59:09 +01:00
|
|
|
"@types/node-emoji": "^1.8.1",
|
2021-06-09 12:38:40 +02:00
|
|
|
"@types/spotify-web-api-node": "^5.0.2",
|
2021-06-09 12:35:35 +02:00
|
|
|
"@types/validator": "^13.1.4",
|
2021-12-14 02:16:14 +01:00
|
|
|
"@types/ws": "^8.2.2",
|
2021-09-20 04:24:46 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.31.1",
|
|
|
|
"@typescript-eslint/parser": "^4.31.1",
|
2021-11-19 18:02:33 +01:00
|
|
|
"concurrently": "^6.4.0",
|
2021-09-20 04:24:46 +02:00
|
|
|
"eslint": "^7.32.0",
|
|
|
|
"eslint-config-xo": "^0.38.0",
|
|
|
|
"eslint-config-xo-typescript": "^0.44.0",
|
2021-01-18 12:12:55 +01:00
|
|
|
"husky": "^4.3.8",
|
2021-01-07 11:52:49 +01:00
|
|
|
"nodemon": "^2.0.7",
|
2022-02-05 23:16:17 +01:00
|
|
|
"prisma": "^3.8.1",
|
2021-12-18 19:29:50 +01:00
|
|
|
"release-it": "^14.11.8",
|
2021-11-12 20:30:18 +01:00
|
|
|
"ts-node": "^10.4.0",
|
2021-12-18 19:41:20 +01:00
|
|
|
"type-fest": "^2.8.0",
|
2021-12-18 19:47:20 +01:00
|
|
|
"typescript": "^4.5.4"
|
2020-03-09 17:57:39 +01:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"xo",
|
|
|
|
"xo-typescript/space"
|
|
|
|
],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "./tsconfig.json"
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"new-cap": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
2020-03-25 23:59:09 +01:00
|
|
|
"@typescript-eslint/no-unused-vars-experimental": "error",
|
2021-12-03 16:36:06 +01:00
|
|
|
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
|
|
"@typescript-eslint/no-implicit-any-catch": "off"
|
2020-03-09 17:57:39 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-10-24 18:32:43 +02:00
|
|
|
"pre-commit": "npm test && yarn build"
|
2020-03-09 17:57:39 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-02-05 23:16:17 +01:00
|
|
|
"@discordjs/builders": "^0.12.0",
|
2021-11-17 04:16:22 +01:00
|
|
|
"@discordjs/opus": "^0.7.0",
|
2022-02-05 23:16:17 +01:00
|
|
|
"@discordjs/rest": "^0.3.0",
|
2022-01-30 04:01:03 +01:00
|
|
|
"@discordjs/voice": "^0.8.0",
|
2022-02-05 23:16:17 +01:00
|
|
|
"@prisma/client": "^3.8.1",
|
2021-11-12 20:30:18 +01:00
|
|
|
"@types/libsodium-wrappers": "^0.7.9",
|
2021-11-29 02:18:41 +01:00
|
|
|
"array-shuffle": "^3.0.0",
|
2021-12-18 19:41:27 +01:00
|
|
|
"debug": "^4.3.3",
|
2021-02-02 11:43:38 +01:00
|
|
|
"delay": "^5.0.0",
|
2022-01-07 19:38:07 +01:00
|
|
|
"discord-api-types": "^0.26.1",
|
2022-01-30 04:01:03 +01:00
|
|
|
"discord.js": "^13.6.0",
|
2021-05-05 12:36:49 +02:00
|
|
|
"dotenv": "^8.5.1",
|
2022-01-05 21:30:32 +01:00
|
|
|
"execa": "^6.0.0",
|
2020-03-15 03:48:08 +01:00
|
|
|
"fluent-ffmpeg": "^2.1.2",
|
2021-11-19 18:02:33 +01:00
|
|
|
"fs-capacitor": "^7.0.1",
|
2020-03-21 02:47:04 +01:00
|
|
|
"get-youtube-id": "^1.0.1",
|
2021-12-12 19:42:09 +01:00
|
|
|
"got": "^12.0.0",
|
2020-10-24 18:32:43 +02:00
|
|
|
"hasha": "^5.2.2",
|
2021-11-29 02:18:50 +01:00
|
|
|
"inversify": "^6.0.1",
|
2020-11-30 11:29:21 +01:00
|
|
|
"iso8601-duration": "^1.3.0",
|
2021-11-12 20:30:18 +01:00
|
|
|
"libsodium-wrappers": "^0.7.9",
|
2020-05-31 04:37:40 +02:00
|
|
|
"make-dir": "^3.1.0",
|
2020-03-09 17:57:39 +01:00
|
|
|
"node-emoji": "^1.10.0",
|
2021-12-14 02:11:14 +01:00
|
|
|
"nodesplash": "^0.1.1",
|
|
|
|
"ora": "^6.0.1",
|
2020-10-24 20:27:02 +02:00
|
|
|
"p-event": "^4.2.0",
|
2021-11-29 02:19:30 +01:00
|
|
|
"p-limit": "^4.0.0",
|
2021-09-20 04:04:34 +02:00
|
|
|
"p-queue": "^7.1.0",
|
2020-10-24 21:42:37 +02:00
|
|
|
"reflect-metadata": "^0.1.13",
|
2021-03-29 14:23:30 +02:00
|
|
|
"spotify-uri": "^2.2.0",
|
2021-01-25 11:30:25 +01:00
|
|
|
"spotify-web-api-node": "^5.0.2",
|
2021-11-19 18:02:33 +01:00
|
|
|
"xbytes": "^1.7.0",
|
2022-01-07 19:26:17 +01:00
|
|
|
"youtube.ts": "^0.2.5",
|
2022-01-21 19:50:57 +01:00
|
|
|
"ytdl-core": "^4.10.0",
|
|
|
|
"ytsr": "^3.6.0"
|
2020-03-09 17:57:39 +01:00
|
|
|
}
|
|
|
|
}
|