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",
|
2022-09-21 21:57:20 +02:00
|
|
|
"cover": "nyc npm test",
|
|
|
|
"cover:report": "nyc report",
|
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'",
|
2023-02-20 21:56:08 +01:00
|
|
|
"postgres:docker": "docker run --init -it --rm -p 5432:5432 -e POSTGRES_USER=ci_db_user -e POSTGRES_PASSWORD=ci_db_pass postgres:14-alpine",
|
|
|
|
"redis:docker": "docker run --init -it --rm -p 6379:6379 redis:7-alpine --save '' --appendonly no",
|
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",
|
2022-12-27 05:43:01 +01:00
|
|
|
"license": "AGPL-3.0-only",
|
2019-07-09 19:48:03 +02:00
|
|
|
"dependencies": {
|
2024-09-02 00:43:59 +02:00
|
|
|
"axios": "^1.7.7",
|
2024-09-02 00:43:28 +02:00
|
|
|
"better-sqlite3": "^11.2.1",
|
2022-11-21 20:36:11 +01:00
|
|
|
"cron": "^2.1.0",
|
2024-09-17 08:18:07 +02:00
|
|
|
"express": "^4.21.0",
|
2021-12-01 21:43:43 +01:00
|
|
|
"express-promise-router": "^4.1.1",
|
2022-11-21 20:36:11 +01:00
|
|
|
"express-rate-limit": "^6.7.0",
|
2022-08-31 07:55:38 +02:00
|
|
|
"form-data": "^4.0.0",
|
2021-12-21 04:22:45 +01:00
|
|
|
"lodash": "^4.17.21",
|
2024-02-05 19:11:44 +01:00
|
|
|
"lru-cache": "^10.2.0",
|
2024-02-05 05:17:28 +01:00
|
|
|
"lz4-napi": "^2.2.0",
|
2022-11-21 20:36:11 +01:00
|
|
|
"pg": "^8.8.0",
|
2022-04-13 23:36:07 +02:00
|
|
|
"rate-limit-redis": "^3.0.1",
|
2024-02-06 06:52:42 +01:00
|
|
|
"redis": "^4.6.13",
|
2023-07-05 07:25:38 +02:00
|
|
|
"seedrandom": "^3.0.5"
|
2020-04-01 22:04:04 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-09-21 21:57:20 +02:00
|
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
2022-11-21 20:36:11 +01:00
|
|
|
"@types/better-sqlite3": "^7.6.2",
|
2022-07-13 06:29:40 +02:00
|
|
|
"@types/cron": "^2.0.0",
|
2022-11-21 20:36:11 +01:00
|
|
|
"@types/express": "^4.17.14",
|
|
|
|
"@types/lodash": "^4.14.189",
|
|
|
|
"@types/mocha": "^10.0.0",
|
|
|
|
"@types/node": "^18.11.9",
|
2022-07-13 06:29:40 +02:00
|
|
|
"@types/pg": "^8.6.5",
|
2023-06-08 09:39:44 +02:00
|
|
|
"@types/seedrandom": "^3.0.5",
|
2022-09-21 09:04:16 +02:00
|
|
|
"@types/sinon": "^10.0.13",
|
2022-11-21 20:36:11 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
|
|
"@typescript-eslint/parser": "^5.44.0",
|
2022-09-21 09:04:16 +02:00
|
|
|
"axios-mock-adapter": "^1.21.2",
|
2022-11-21 20:36:11 +01:00
|
|
|
"eslint": "^8.28.0",
|
|
|
|
"mocha": "^10.1.0",
|
|
|
|
"nodemon": "^2.0.20",
|
2022-06-28 21:19:42 +02:00
|
|
|
"nyc": "^15.1.0",
|
2022-11-21 20:36:11 +01:00
|
|
|
"sinon": "^14.0.2",
|
2021-12-01 21:43:43 +01:00
|
|
|
"ts-mock-imports": "^1.3.8",
|
2022-11-21 20:36:11 +01:00
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"typescript": "^4.9.3"
|
2021-12-01 22:26:56 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-11-21 20:36:11 +01:00
|
|
|
"node": ">=18"
|
2019-07-09 19:48:03 +02:00
|
|
|
}
|
|
|
|
}
|