Skip to content

Commit

Permalink
Spotify
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathund committed Sep 9, 2024
1 parent b10f96c commit 4d84f70
Show file tree
Hide file tree
Showing 20 changed files with 1,257 additions and 10 deletions.
5 changes: 4 additions & 1 deletion config.example.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"token": "DISCORD_BOT_TOKEN"
"token": "DISCORD_BOT_TOKEN",
"spotifyClientId": "SPOTIFY_CLIENT_ID",
"spotifyClientSecret": "SPOTIFY_CLIENT_SECRET",
"port": 5173
}
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default [
'no-constant-condition': ['error', { checkLoops: false }],
'prefer-const': ['warn', { destructuring: 'all' }],
curly: ['warn', 'multi-line', 'consistent'],
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-explicit-any': 'off',
'logical-assignment-operators': 'warn',
'no-template-curly-in-string': 'error',
'quote-props': ['error', 'as-needed'],
Expand Down
5 changes: 5 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"ignore": ["config.json", "config.example.json", "node_modules", "src/types"],
"ext": "ts",
"exec": "pnpm start"
}
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"lint": "npx eslint src/ index.ts --fix",
"prettier": "npx prettier --write src/ index.ts",
"prettier:check": "npx prettier --check src/ index.ts",
"build": "npx tsc --build"
"build": "npx tsc --build",
"dev": "npx nodemon"
},
"keywords": [],
"author": "Kathund",
Expand All @@ -27,16 +28,21 @@
"dependencies": {
"chalk": "^5.3.0",
"discord.js": "^14.15.3",
"express": "^4.19.2",
"express-session": "^1.18.0",
"winston": "^3.14.2"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@j4cobi/eslint-plugin-sort-imports": "^1.0.2",
"@types/eslint": "^9.6.1",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.0",
"@types/node": "^22.5.4",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.9.0",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
Expand Down
Loading

0 comments on commit 4d84f70

Please sign in to comment.