-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c89dd0
commit 4505abc
Showing
9 changed files
with
118 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,86 @@ | ||
{ | ||
"name": "tc-discordbot", | ||
"version": "1.0.0", | ||
"description": "discord bot app", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"start": "node ./lib/index.js", | ||
"copy-files": "copyfiles -u 1 src/**/*.yml lib", | ||
"dev": "env-cmd -f ./src/config/dev.env nodemon ./src/index.ts", | ||
"test": "env-cmd -f ./src/config/test.env jest --detectOpenHandles", | ||
"test:ci": "jest --ci --detectOpenHandles", | ||
"lint": "eslint **/*.ts", | ||
"lint-fix": "eslint --fix **/*.ts", | ||
"format": "prettier --write \"src/**/*.ts\" \"types/*.ts\" \"__tests__/**/*.ts\"", | ||
"dev-migrate:create": "migrate create --template-file ./src/migrations/utils/template.ts --migrations-dir=\"./src/migrations/db\" --compiler=\"ts:./src/migrations/utils/ts-compiler.js\"", | ||
"dev-migrate:up": "migrate --migrations-dir=\"./src/migrations/db\" up --compiler=\"ts:./src/migrations/utils/ts-compiler.js\"", | ||
"dev-migrate:down": "migrate --migrations-dir=\"./src/migrations/db\" --compiler=\"ts:./src/migrations/utils/ts-compiler.js\" down", | ||
"migrate:create": "migrate create --template-file ./src/migrations/utils/template.ts --migrations-dir=\"./src/migrations/db\"", | ||
"migrate:up": "migrate --migrations-dir=\"./lib/migrations/db\" up", | ||
"migrate:down": "migrate --migrations-dir=\"./lib/migrations/db\" down", | ||
"cleanupCompletedJobs": "node ./lib/scripts/cleanupCompletedJobs.js", | ||
"deleteRnDAOGuildCommands": "node ./lib/scripts/deleteRnDAOGuildCommands.js", | ||
"fetchInitialData": "node ./lib/scripts/fetchInitialData.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Behzad-rabiei/tc-discordBot.git" | ||
}, | ||
"author": "Behzad Rabiei & Nima Torabi", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/Behzad-rabiei/tc-discordBot/issues" | ||
}, | ||
"homepage": "https://github.com/Behzad-rabiei/tc-discordBot#readme", | ||
"dependencies": { | ||
"@bull-board/express": "^5.14.0", | ||
"@pyroscope/nodejs": "^0.2.8", | ||
"@sentry/node": "^7.51.2", | ||
"@togethercrew.dev/db": "^3.0.63", | ||
"@togethercrew.dev/tc-messagebroker": "^0.0.48", | ||
"babel-jest": "^29.5.0", | ||
"bullmq": "^3.14.0", | ||
"discord.js": "^14.15.2", | ||
"express": "^4.18.2", | ||
"flatted": "^3.2.9", | ||
"joi": "^17.9.2", | ||
"migrate": "^2.0.0", | ||
"moment": "^2.29.4", | ||
"mongodb": "^5.4.0", | ||
"mongoose": "^6.11.1", | ||
"node-fetch": "^2.6.7", | ||
"npm": "^10.4.0", | ||
"perf_hooks": "^0.0.1", | ||
"pino": "^8.18.0", | ||
"redis": "^4.6.6" | ||
}, | ||
"devDependencies": { | ||
"@types/express": "^4.17.21", | ||
"@types/jest": "^29.5.1", | ||
"@types/node": "^20.1.1", | ||
"@types/node-fetch": "^2.6.2", | ||
"@types/supertest": "^2.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"env-cmd": "^10.1.0", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-standard-with-typescript": "^34.0.1", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.7.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"jest": "^29.5.0", | ||
"node-mocks-http": "^1.12.2", | ||
"nodemon": "^3.0.1", | ||
"prettier": "^3.3.3", | ||
"supertest": "^6.3.3", | ||
"ts-jest": "^29.1.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.4" | ||
}, | ||
"files": [ | ||
"lib/**/*" | ||
] | ||
"name": "tc-discordbot", | ||
"version": "1.0.0", | ||
"description": "discord bot app", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"start": "node ./lib/index.js", | ||
"copy-files": "copyfiles -u 1 src/**/*.yml lib", | ||
"dev": "env-cmd -f ./src/config/dev.env nodemon ./src/index.ts", | ||
"test": "env-cmd -f ./src/config/test.env jest --detectOpenHandles", | ||
"test:ci": "jest --ci --detectOpenHandles", | ||
"lint": "eslint **/*.ts", | ||
"lint-fix": "eslint --fix **/*.ts", | ||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
"dev-migrate:create": "migrate create --template-file ./src/migrations/utils/template.ts --migrations-dir=\"./src/migrations/db\" --compiler=\"ts:./src/migrations/utils/ts-compiler.js\"", | ||
"dev-migrate:up": "migrate --migrations-dir=\"./src/migrations/db\" up --compiler=\"ts:./src/migrations/utils/ts-compiler.js\"", | ||
"dev-migrate:down": "migrate --migrations-dir=\"./src/migrations/db\" --compiler=\"ts:./src/migrations/utils/ts-compiler.js\" down", | ||
"migrate:create": "migrate create --template-file ./src/migrations/utils/template.ts --migrations-dir=\"./src/migrations/db\"", | ||
"migrate:up": "migrate --migrations-dir=\"./lib/migrations/db\" up", | ||
"migrate:down": "migrate --migrations-dir=\"./lib/migrations/db\" down", | ||
"cleanupCompletedJobs": "node ./lib/scripts/cleanupCompletedJobs.js", | ||
"deleteRnDAOGuildCommands": "node ./lib/scripts/deleteRnDAOGuildCommands.js", | ||
"fetchInitialData": "node ./lib/scripts/fetchInitialData.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Behzad-rabiei/tc-discordBot.git" | ||
}, | ||
"author": "Behzad Rabiei & Nima Torabi", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/Behzad-rabiei/tc-discordBot/issues" | ||
}, | ||
"homepage": "https://github.com/Behzad-rabiei/tc-discordBot#readme", | ||
"dependencies": { | ||
"@bull-board/express": "^5.14.0", | ||
"@pyroscope/nodejs": "^0.2.8", | ||
"@sentry/node": "^7.51.2", | ||
"@togethercrew.dev/db": "^3.0.63", | ||
"@togethercrew.dev/tc-messagebroker": "^0.0.48", | ||
"babel-jest": "^29.5.0", | ||
"bullmq": "^3.14.0", | ||
"discord.js": "^14.15.2", | ||
"express": "^4.18.2", | ||
"flatted": "^3.2.9", | ||
"joi": "^17.9.2", | ||
"migrate": "^2.0.0", | ||
"moment": "^2.29.4", | ||
"mongodb": "^5.4.0", | ||
"mongoose": "^6.11.1", | ||
"node-fetch": "^2.6.7", | ||
"npm": "^10.4.0", | ||
"perf_hooks": "^0.0.1", | ||
"pino": "^8.18.0", | ||
"redis": "^4.6.6" | ||
}, | ||
"devDependencies": { | ||
"@types/express": "^4.17.21", | ||
"@types/jest": "^29.5.1", | ||
"@types/node": "^20.1.1", | ||
"@types/node-fetch": "^2.6.2", | ||
"@types/supertest": "^2.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"env-cmd": "^10.1.0", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-standard-with-typescript": "^34.0.1", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.7.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"jest": "^29.5.0", | ||
"node-mocks-http": "^1.12.2", | ||
"nodemon": "^3.0.1", | ||
"prettier": "^3.3.3", | ||
"supertest": "^6.3.3", | ||
"ts-jest": "^29.1.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.4" | ||
}, | ||
"files": [ | ||
"lib/**/*" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,21 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"declaration": false, | ||
"removeComments": false, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"target": "ES2017", | ||
"sourceMap": false, | ||
"outDir": "./lib", | ||
"baseUrl": "./", | ||
"incremental": true, | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"skipLibCheck": true, | ||
"esModuleInterop": true, | ||
"allowSyntheticDefaultImports": true | ||
}, | ||
"include": [ | ||
"src/**/*", | ||
"__tests__/**/*", | ||
"types/**/*" | ||
], | ||
"ts-node": { | ||
"transpileOnly": true, | ||
"files": true | ||
}, | ||
"exclude": [ | ||
"./coverage", | ||
"./lib", | ||
"__tests__", | ||
"jest.config.js" | ||
] | ||
} | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"declaration": true, | ||
"removeComments": true, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"allowSyntheticDefaultImports": true, | ||
"target": "ES2021", | ||
"sourceMap": true, | ||
"outDir": "./dist", | ||
"baseUrl": "./", | ||
"incremental": true, | ||
"skipLibCheck": true, | ||
"strictNullChecks": false, | ||
"noImplicitAny": false, | ||
"strictBindCallApply": false, | ||
"forceConsistentCasingInFileNames": false, | ||
"noFallthroughCasesInSwitch": false | ||
} | ||
} |