2019-07-09 19:48:03 +02:00
|
|
|
{
|
|
|
|
"name": "sponsor_block_server",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"description": "Server that holds the SponsorBlock database",
|
2020-10-20 21:56:07 +02:00
|
|
|
"main": "src/index.ts",
|
2019-07-09 19:48:03 +02:00
|
|
|
"scripts": {
|
2021-07-03 07:46:51 +02:00
|
|
|
"test": "npm run tsc && ts-node test/test.ts",
|
2020-11-01 16:14:45 +01:00
|
|
|
"dev": "nodemon",
|
2020-04-04 22:37:17 +02:00
|
|
|
"dev:bash": "nodemon -x 'npm test ; npm start'",
|
2021-07-13 21:45:24 +02:00
|
|
|
"postgres:docker": "docker run --rm -p 5432:5432 -e POSTGRES_USER=ci_db_user -e POSTGRES_PASSWORD=ci_db_pass postgres:alpine",
|
2021-12-19 08:03:50 +01:00
|
|
|
"redis:docker": "docker run --rm -p 6379:6379 redis:alpine",
|
2020-10-20 21:56:07 +02:00
|
|
|
"start": "ts-node src/index.ts",
|
2021-07-04 04:49:04 +02:00
|
|
|
"tsc": "tsc -p tsconfig.json",
|
2021-07-05 09:14:05 +02:00
|
|
|
"lint": "eslint src test",
|
|
|
|
"lint:fix": "eslint src test --fix"
|
2019-07-09 19:48:03 +02:00
|
|
|
},
|
|
|
|
"author": "Ajay Ramachandran",
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2021-12-01 21:43:43 +01:00
|
|
|
"axios": "^0.24.0",
|
|
|
|
"better-sqlite3": "^7.4.5",
|
2021-07-09 06:46:04 +02:00
|
|
|
"cron": "^1.8.2",
|
2019-07-09 19:48:03 +02:00
|
|
|
"express": "^4.17.1",
|
2021-12-01 21:43:43 +01:00
|
|
|
"express-promise-router": "^4.1.1",
|
2022-04-13 19:50:30 +02:00
|
|
|
"express-rate-limit": "^6.3.0",
|
2021-12-21 04:22:45 +01:00
|
|
|
"lodash": "^4.17.21",
|
2021-08-27 23:09:31 +02:00
|
|
|
"pg": "^8.7.1",
|
2022-04-13 23:36:07 +02:00
|
|
|
"rate-limit-redis": "^3.0.1",
|
|
|
|
"redis": "^4.0.6",
|
2021-07-09 06:31:42 +02:00
|
|
|
"sync-mysql": "^3.0.1"
|
2020-04-01 22:04:04 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-01 21:43:43 +01:00
|
|
|
"@types/better-sqlite3": "^7.4.1",
|
2021-07-09 06:46:04 +02:00
|
|
|
"@types/cron": "^1.7.3",
|
2021-07-09 06:31:42 +02:00
|
|
|
"@types/express": "^4.17.13",
|
2021-12-21 04:22:45 +01:00
|
|
|
"@types/lodash": "^4.14.178",
|
2021-08-27 23:09:31 +02:00
|
|
|
"@types/mocha": "^9.0.0",
|
2021-12-01 21:43:43 +01:00
|
|
|
"@types/node": "^16.11.11",
|
2021-07-09 06:31:42 +02:00
|
|
|
"@types/pg": "^8.6.1",
|
2021-12-01 21:43:43 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
|
|
|
"@typescript-eslint/parser": "^5.5.0",
|
|
|
|
"eslint": "^8.3.0",
|
|
|
|
"mocha": "^9.1.3",
|
|
|
|
"nodemon": "^2.0.15",
|
|
|
|
"sinon": "^12.0.1",
|
|
|
|
"ts-mock-imports": "^1.3.8",
|
|
|
|
"ts-node": "^10.4.0",
|
|
|
|
"typescript": "^4.5.2"
|
2021-12-01 22:26:56 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=10"
|
2019-07-09 19:48:03 +02:00
|
|
|
}
|
|
|
|
}
|