Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VC周り #306

Merged
merged 14 commits into from
Dec 4, 2023
3 changes: 1 addition & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
],
"root": true,
"env": {
"node": true,
"jest": true
"node": true
},
"ignorePatterns": [
".eslintrc.js"
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
nodejs 20.9.0
pnpm 8.10.5
python 3.11.6
na2na-p marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"cSpell.words": [
"jetdisc",
"libsodium",
"swcrc"
]
}
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Discord Bot

# 必要なもの

.tool-versionsを参照してください。
asdfを使っている場合はそのまま入ります。

- Node.js
- pnpm
- Python

Pythonは、`@discordjs/opus`の入れるのに必要です。
32 changes: 0 additions & 32 deletions jest.config.js

This file was deleted.

18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,39 @@
"lint:fix": "yarn lint --fix",
"fmt": "prettier --config ./.prettierrc --list-different \"src/**/*.{js,json,ts,tsx,css,md}\"",
"fmt:fix": "yarn fmt --write",
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
"test:coverage": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage --silent",
"test:watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch"
"test": "vitest src/",
"test:coverage": "vitest src/ --coverage --silent"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.96",
"@swc/jest": "^0.2.29",
"@tsconfig/strictest": "^2.0.2",
"@types/jest": "^29.5.8",
"@types/lodash-es": "^4.17.11",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitest/coverage-v8": "^0.34.6",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"tsx": "^4.1.1",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
"dependencies": {
"@discordjs/opus": "^0.9.0",
"@discordjs/voice": "^0.16.1",
"@t3-oss/env-core": "^0.7.1",
"chalk": "^5.3.0",
"discord.js": "^14.14.1",
"dotenv": "^16.3.1",
"eslint": "^8.53.0",
"libsodium-wrappers": "^0.7.13",
"lodash-es": "^4.17.21",
"resolve": "^1.22.8",
"zod": "^3.22.4"
}
Expand Down
Loading