2021-06-14 09:59:17 +00:00
|
|
|
{
|
2021-06-17 08:25:51 +00:00
|
|
|
"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",
|
2021-06-17 11:46:58 +00:00
|
|
|
"coverage": "nyc yarn run test",
|
2021-06-17 08:25:51 +00:00
|
|
|
"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 dist/src/index.js --dev",
|
|
|
|
"run:prod": "node dist/index.js",
|
2021-06-17 11:46:58 +00:00
|
|
|
"test": "mocha -r ts-node/register tests/**/*.test.ts",
|
2021-06-17 08:25:51 +00:00
|
|
|
"watch:bot": "nodemon dist/src/index.js --dev",
|
|
|
|
"watch:rollup": "tsc --watch",
|
|
|
|
"watch:tsc": "tsc --watch"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@discordjs/opus": "^0.5.3",
|
|
|
|
"@discordjs/voice": "^0.5.0",
|
|
|
|
"bufferutil": "^4.0.3",
|
|
|
|
"chalk": "^4.1.1",
|
|
|
|
"color-convert": "^2.0.1",
|
|
|
|
"discord.js": "^13.0.0-dev.a3cbcca13da1af416c219bd64a0a6e84bb87a057",
|
|
|
|
"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",
|
|
|
|
"node-gyp": "^8.1.0",
|
|
|
|
"sodium": "^3.0.2",
|
|
|
|
"supports-color": "^9.0.1",
|
|
|
|
"terminal-link": "^3.0.0",
|
|
|
|
"tslib": "^2.3.0",
|
|
|
|
"utf-8-validate": "^5.0.5",
|
|
|
|
"yargs": "^17.0.1",
|
|
|
|
"zlib-sync": "^0.1.7"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@commitlint/cli": "^12.1.4",
|
|
|
|
"@commitlint/config-conventional": "^12.1.4",
|
|
|
|
"@commitlint/prompt-cli": "^12.1.4",
|
2021-06-17 11:46:58 +00:00
|
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
2021-06-17 08:25:51 +00:00
|
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
|
|
"@rollup/plugin-typescript": "^8.2.1",
|
2021-06-17 11:46:58 +00:00
|
|
|
"@types/chai": "^4.2.18",
|
2021-06-17 08:25:51 +00:00
|
|
|
"@types/color-convert": "^2",
|
|
|
|
"@types/eslint": "^7.2.13",
|
|
|
|
"@types/figlet": "^1.5.1",
|
|
|
|
"@types/gradient-string": "^1",
|
|
|
|
"@types/luxon": "^1",
|
2021-06-17 11:46:58 +00:00
|
|
|
"@types/mocha": "^8.2.2",
|
2021-06-17 08:25:51 +00:00
|
|
|
"@types/node": "^15.12.2",
|
|
|
|
"@types/rimraf": "^3",
|
2021-06-17 11:46:58 +00:00
|
|
|
"@types/std-mocks": "^1",
|
2021-06-17 08:25:51 +00:00
|
|
|
"@types/yargs": "^17",
|
|
|
|
"@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",
|
2021-06-17 11:46:58 +00:00
|
|
|
"chai": "^4.3.4",
|
2021-06-17 08:25:51 +00:00
|
|
|
"eslint": "^7.28.0",
|
|
|
|
"eslint-formatter-pretty": "^4.1.0",
|
2021-06-17 08:39:34 +00:00
|
|
|
"eslint-plugin-header": "^3.1.1",
|
2021-06-17 08:25:51 +00:00
|
|
|
"husky": "^6.0.0",
|
|
|
|
"lint-staged": "^11.0.0",
|
|
|
|
"mocha": "^9.0.0",
|
|
|
|
"nodemon": "^2.0.7",
|
|
|
|
"nyc": "^15.1.0",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"rollup": "^2.52.0",
|
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
|
|
"standard-version": "^9.3.0",
|
2021-06-17 11:46:58 +00:00
|
|
|
"std-mocks": "^1.0.1",
|
|
|
|
"ts-node": "^10.0.0",
|
2021-06-17 08:25:51 +00:00
|
|
|
"typescript": "^4.3.3",
|
|
|
|
"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": [
|
2021-06-17 08:39:34 +00:00
|
|
|
"@typescript-eslint",
|
|
|
|
"header"
|
2021-06-17 08:25:51 +00:00
|
|
|
],
|
|
|
|
"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"
|
|
|
|
],
|
2021-06-17 08:39:34 +00:00
|
|
|
"header/header": [
|
|
|
|
2,
|
|
|
|
"license-header.txt"
|
|
|
|
],
|
2021-06-17 08:25:51 +00:00
|
|
|
"no-case-declarations": "off",
|
|
|
|
"@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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-06-14 09:59:17 +00:00
|
|
|
}
|