213 lines
5 KiB
JSON
213 lines
5 KiB
JSON
{
|
|
"name": "argon-bot",
|
|
"version": "0.0.1-alpha.0",
|
|
"description": "A free and open source Discord Bot under GPL-3.0-or-later",
|
|
"main": "dist/index.js",
|
|
"repository": "https://code.relms.dev/Relms/ArgonBot",
|
|
"bugs": "https://code.relms.dev/Relms/ArgonBot/issues",
|
|
"homepage": "https://code.relms.dev/Relms/ArgonBot/src/branch/master/README.md",
|
|
"author": "Daryl Ronningen <relms@relms.dev>",
|
|
"maintainers": [
|
|
"Daryl Ronningen <relms@relms.dev>"
|
|
],
|
|
"contributors": [],
|
|
"license": "GPL-3.0-or-later",
|
|
"private": true,
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"compile:dev": "tsc",
|
|
"compile:prod": "rollup -c --compact",
|
|
"commit": "commit",
|
|
"coverage": "NODE_CONFIG_ENV=tests nyc yarn run test",
|
|
"lint": "eslint --format=pretty src/**/*.ts",
|
|
"lint:save": "eslint --format=pretty --save src/**/*.ts",
|
|
"postinstall": "husky install",
|
|
"release:alpha": "standard-version --prelease alpha -s",
|
|
"release:beta": "standard-version --prelease beta -s",
|
|
"release:full": "standard-version -s",
|
|
"run:dev": "NODE_CONFIG_ENV=dev node dist/src/index.js",
|
|
"run:prod": "NODE_CONFIG_ENV=production node dist/index.js",
|
|
"test": "NODE_CONFIG_ENV=tests mocha -r ts-node/register -r tsconfig-paths/register tests/**/*.test.ts",
|
|
"watch:bot": "NODE_CONFIG_ENV=dev nodemon dist/src/index.js",
|
|
"watch:rollup": "rollup -c --compact --watch",
|
|
"watch:tsc": "tsc --watch"
|
|
},
|
|
"dependencies": {
|
|
"@discordjs/opus": "^0.5.3",
|
|
"@discordjs/voice": "^0.5.0",
|
|
"bufferutil": "^4.0.3",
|
|
"chalk": "^4.1.1",
|
|
"config": "^3.3.6",
|
|
"discord.js": "^13.0.0-dev.fdad14099779e61cb84dcd1cb2497e0e853a6144",
|
|
"erlpack": "^0.1.3",
|
|
"ffmpeg-static": "^4.3.0",
|
|
"figlet": "^1.5.0",
|
|
"gradient-string": "^1.2.0",
|
|
"jsonschema": "^1.4.0",
|
|
"luxon": "^1.27.0",
|
|
"module-alias": "^2.2.2",
|
|
"node-gyp": "^8.1.0",
|
|
"sodium": "^3.0.2",
|
|
"terminal-link": "^3.0.0",
|
|
"tslib": "^2.3.0",
|
|
"utf-8-validate": "^5.0.5",
|
|
"vm2": "^3.9.3",
|
|
"zlib-sync": "^0.1.7"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^12.1.4",
|
|
"@commitlint/config-conventional": "^12.1.4",
|
|
"@commitlint/prompt-cli": "^12.1.4",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-typescript": "^8.2.1",
|
|
"@types/chai": "^4.2.18",
|
|
"@types/config": "^0.0.38",
|
|
"@types/eslint": "^7.2.13",
|
|
"@types/figlet": "^1.5.1",
|
|
"@types/gradient-string": "^1.1.1",
|
|
"@types/luxon": "^1.27.0",
|
|
"@types/mocha": "^8.2.2",
|
|
"@types/module-alias": "^2.0.0",
|
|
"@types/node": "^15.12.3",
|
|
"@types/rimraf": "^3.0.0",
|
|
"@types/sinon": "^10.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.27.0",
|
|
"@typescript-eslint/parser": "^4.27.0",
|
|
"@typescript-eslint/typescript-estree": "^4.27.0",
|
|
"@yarnpkg/pnpify": "^3.0.0-rc.6",
|
|
"chai": "^4.3.4",
|
|
"eslint": "^7.28.0",
|
|
"eslint-formatter-pretty": "^4.1.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"husky": "^6.0.0",
|
|
"lint-staged": "^11.0.0",
|
|
"mocha": "^9.0.1",
|
|
"nodemon": "^2.0.7",
|
|
"nyc": "^15.1.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.52.1",
|
|
"rollup-plugin-multi-input": "^1.3.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"sinon": "^11.1.1",
|
|
"standard-version": "^9.3.0",
|
|
"ts-node": "^10.0.0",
|
|
"tsconfig-paths": "^3.9.0",
|
|
"typescript": "^4.3.4",
|
|
"typescript-eslint-language-service": "^4.1.4"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"env": {
|
|
"es2021": true,
|
|
"node": true,
|
|
"commonjs": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2021,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"header"
|
|
],
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
"tab",
|
|
{
|
|
"SwitchCase": 1,
|
|
"CallExpression": {
|
|
"arguments": 1
|
|
}
|
|
}
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"eol-last": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"default-case": "error",
|
|
"comma-dangle": [
|
|
"error",
|
|
"always-multiline"
|
|
],
|
|
"header/header": [
|
|
2,
|
|
"license-header.txt"
|
|
],
|
|
"no-case-declarations": "off",
|
|
"keyword-spacing": [
|
|
"error",
|
|
{
|
|
"overrides": {
|
|
"if": {
|
|
"before": false,
|
|
"after": false
|
|
},
|
|
"catch": {
|
|
"before": true,
|
|
"after": false
|
|
},
|
|
"switch": {
|
|
"before": true,
|
|
"after": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"@typescript-eslint/no-non-null-assertion": "off"
|
|
},
|
|
"reportUnusedDisableDirectives": true
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*": [
|
|
"yarn lint"
|
|
]
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"standard-version": {
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "Bug Fixes"
|
|
}
|
|
]
|
|
},
|
|
"_moduleAliases": {
|
|
"@": "dist",
|
|
"@src": "dist/src",
|
|
"@lib": "dist/src/lib",
|
|
"@utils": "dist/src/lib/utils/",
|
|
"@structures": "dist/src/lib/structures"
|
|
}
|
|
}
|