muse/package.json
2022-01-29 20:12:21 -05:00

121 lines
3.6 KiB
JSON

{
"name": "muse",
"version": "0.5.1",
"description": "🎧 a self-hosted Discord music bot that doesn't suck ",
"exports": "./dist/src/index.js",
"repository": "git@github.com:codetheweb/muse.git",
"author": "Max Isom <hi@maxisom.me>",
"license": "MIT",
"private": true,
"types": "dts/types",
"type": "module",
"engines": {
"node": ">=16.0.0"
},
"files": [
"dist",
"dts"
],
"scripts": {
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
"clean": "rm -rf dist dts",
"test": "npm run lint",
"build": "tsc",
"build:watch": "tsc --watch",
"prepack": "npm run clean && npm run build",
"start": "npm run env:set-database-url -- node --experimental-json-modules dist/src/scripts/migrate-and-start.js",
"cache:clear-key-value": "npm run env:set-database-url node dist/src/scripts/cache-clear-key-value.js",
"dev": "concurrently nodemon 'tsc --watch'",
"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": "node dist/src/scripts/run-with-database-url.js",
"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",
"concurrently": "^6.4.0",
"eslint": "^7.32.0",
"eslint-config-xo": "^0.38.0",
"eslint-config-xo-typescript": "^0.44.0",
"husky": "^4.3.8",
"nodemon": "^2.0.7",
"prisma": "^3.8.1",
"release-it": "^14.11.8",
"ts-node": "^10.4.0",
"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 && yarn build"
}
},
"dependencies": {
"@discordjs/builders": "^0.12.0",
"@discordjs/opus": "^0.7.0",
"@discordjs/rest": "^0.3.0",
"@discordjs/voice": "^0.8.0",
"@prisma/client": "^3.8.1",
"@types/libsodium-wrappers": "^0.7.9",
"array-shuffle": "^3.0.0",
"debug": "^4.3.3",
"delay": "^5.0.0",
"discord-api-types": "^0.26.1",
"discord.js": "^13.6.0",
"dotenv": "^8.5.1",
"execa": "^6.0.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.0.1",
"p-event": "^4.2.0",
"p-limit": "^4.0.0",
"p-queue": "^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.10.0",
"ytsr": "^3.6.0"
}
}