Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
11 changes: 11 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/** @type { import("eslint").Linter.FlatConfig[] } */
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true
}
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
57 changes: 31 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
{
"name": "c0d3r",
"version": "1.0.0",
"main": "index.ts",
"license": "MIT",
"scripts": {
"start": "ts-node index.ts",
"build": "tsc -p tsconfig.json"
},
"dependencies": {
"@discordjs/builders": "^0.12.0",
"@discordjs/rest": "^0.3.0",
"discord.js": "^13.6.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"graphql": "^16.3.0",
"graphql-request": "^4.2.0",
"openai": "^3.2.1",
"zod": "^3.7.3"
},
"devDependencies": {
"@types/express": "^4.17.12",
"ts-node": "^10.0.0",
"typescript": "^4.3.5"
}
}
{
"name": "c0d3r",
"version": "1.0.0",
"main": "index.ts",
"license": "MIT",
"scripts": {
"start": "ts-node index.ts",
"build": "tsc -p tsconfig.json"
},
"dependencies": {
"@discordjs/builders": "^0.12.0",
"@discordjs/rest": "^0.3.0",
"discord.js": "^13.6.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"graphql": "^16.3.0",
"graphql-request": "^4.2.0",
"openai": "^3.2.1",
"zod": "^3.7.3"
},
"devDependencies": {
"@types/express": "^4.17.12",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"prettier": "^2.8.7",
"ts-node": "^10.0.0",
"typescript": "^5.0.4"
}
}
Loading