2023-06-19 12:35:11 +05:00
|
|
|
{
|
2023-07-05 00:42:49 +05:00
|
|
|
"name": "dashboard-core",
|
2023-06-22 19:36:52 +05:00
|
|
|
"version": "1.0",
|
|
|
|
"description": "dashboard",
|
2023-06-19 12:35:11 +05:00
|
|
|
"main": "index.js",
|
|
|
|
"typings": ".d.ts",
|
2023-07-04 01:30:34 +05:00
|
|
|
"scripts": {
|
|
|
|
"preinstall": "npx only-allow pnpm",
|
|
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
|
|
},
|
2023-06-19 12:35:11 +05:00
|
|
|
"dependencies": {
|
2023-07-04 01:45:12 +05:00
|
|
|
"@keyv/sqlite": "^3.6.5",
|
2023-06-19 12:35:11 +05:00
|
|
|
"assistants-safe-storage": "^1.0.0",
|
|
|
|
"body-parser": "^1.20.0",
|
|
|
|
"colors": "^1.4.0",
|
|
|
|
"cookie-parser": "^1.4.6",
|
|
|
|
"discord-oauth2": "^2.10.0",
|
|
|
|
"discord.js": "*",
|
|
|
|
"ejs": "^3.1.8",
|
|
|
|
"express": "^4.17.3",
|
|
|
|
"express-partials": "^0.3.0",
|
|
|
|
"express-rate-limit": "^6.4.0",
|
|
|
|
"express-session": "^1.17.3",
|
|
|
|
"https": "^1.0.0",
|
|
|
|
"keyv": "^4.5.2",
|
|
|
|
"node-fetch": "^2.6.7",
|
2023-07-04 01:45:12 +05:00
|
|
|
"nodeactyl": "^3.3.0",
|
2023-06-22 19:36:52 +05:00
|
|
|
"quick.db": "^7.1.3",
|
|
|
|
"socket.io": "^4.5.1"
|
2023-06-19 12:35:11 +05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-06-22 19:36:52 +05:00
|
|
|
"eslint": "^8.23.0",
|
2023-06-19 12:35:11 +05:00
|
|
|
"prettier": "2.7.1"
|
2023-06-22 19:36:52 +05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"env": {
|
|
|
|
"commonjs": true,
|
|
|
|
"es6": true,
|
|
|
|
"es2020": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"globals": {
|
|
|
|
"Atomics": "readonly",
|
|
|
|
"SharedArrayBuffer": "readonly"
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2020
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"arrow-spacing": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
"before": true,
|
|
|
|
"after": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"comma-dangle": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
|
|
|
"comma-spacing": "error",
|
|
|
|
"comma-style": "error",
|
|
|
|
"dot-location": [
|
|
|
|
"error",
|
|
|
|
"property"
|
|
|
|
],
|
|
|
|
"handle-callback-err": "off",
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
"tab",
|
|
|
|
{
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"keyword-spacing": "error",
|
|
|
|
"max-nested-callbacks": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"max": 4
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"max-statements-per-line": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"max": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-console": "off",
|
|
|
|
"no-multi-spaces": "error",
|
|
|
|
"no-multiple-empty-lines": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"max": 2,
|
|
|
|
"maxEOF": 1,
|
|
|
|
"maxBOF": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-trailing-spaces": [
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"no-var": "error",
|
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"prefer-const": "error",
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"double"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"space-in-parens": "error",
|
|
|
|
"space-infix-ops": "error",
|
|
|
|
"space-unary-ops": "error",
|
|
|
|
"yoda": "error"
|
|
|
|
}
|
2023-06-19 12:35:11 +05:00
|
|
|
}
|
|
|
|
}
|