add eslint & prettier

This commit is contained in:
Ryan Cao 2022-05-21 18:32:55 +08:00
parent 7950e23236
commit 0f15e2fb2c
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F
6 changed files with 805 additions and 13 deletions

View file

@ -4,17 +4,24 @@
"license": "MIT",
"scripts": {
"dev": "nodemon --watch index.ts --exec esno index.ts",
"build": "esbuild index.ts --format=cjs --platform=node --bundle --minify --outfile=index.js"
"build": "esbuild index.ts --format=cjs --platform=node --bundle --minify --outfile=index.js",
"lint": "eslint **/*.ts"
},
"dependencies": {
"@cliqz/adblocker": "^1.23.8",
"bad-words": "^3.0.4",
"discord.js": "^13.7.0",
"kleur": "^4.1.4"
},
"devDependencies": {
"@types/bad-words": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"esbuild": "^0.14.39",
"eslint": "^8.16.0",
"esno": "^0.16.3",
"nodemon": "^2.0.16"
"nodemon": "^2.0.16",
"prettier": "^2.6.2",
"typescript": "^4.6.4"
}
}