mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
60 lines
1.8 KiB
JSON
60 lines
1.8 KiB
JSON
{
|
|
"name": "sponsor_block_server",
|
|
"version": "0.1.0",
|
|
"description": "Server that holds the SponsorBlock database",
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"test": "npm run tsc && ts-node test/test.ts",
|
|
"cover": "nyc npm test",
|
|
"cover:report": "nyc report",
|
|
"dev": "nodemon",
|
|
"dev:bash": "nodemon -x 'npm test ; npm start'",
|
|
"postgres:docker": "docker run --rm -p 5432:5432 -e POSTGRES_USER=ci_db_user -e POSTGRES_PASSWORD=ci_db_pass postgres:14-alpine",
|
|
"redis:docker": "docker run --rm -p 6379:6379 redis:7-alpine --save '' --appendonly no",
|
|
"start": "ts-node src/index.ts",
|
|
"tsc": "tsc -p tsconfig.json",
|
|
"lint": "eslint src test",
|
|
"lint:fix": "eslint src test --fix"
|
|
},
|
|
"author": "Ajay Ramachandran",
|
|
"license": "AGPL-3.0-only",
|
|
"dependencies": {
|
|
"axios": "^1.1.3",
|
|
"better-sqlite3": "^8.0.1",
|
|
"cron": "^2.1.0",
|
|
"express": "^4.18.2",
|
|
"express-promise-router": "^4.1.1",
|
|
"express-rate-limit": "^6.7.0",
|
|
"form-data": "^4.0.0",
|
|
"lodash": "^4.17.21",
|
|
"pg": "^8.8.0",
|
|
"rate-limit-redis": "^3.0.1",
|
|
"redis": "^4.5.0",
|
|
"sync-mysql": "^3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@types/better-sqlite3": "^7.6.2",
|
|
"@types/cron": "^2.0.0",
|
|
"@types/express": "^4.17.14",
|
|
"@types/lodash": "^4.14.189",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/node": "^18.11.9",
|
|
"@types/pg": "^8.6.5",
|
|
"@types/sinon": "^10.0.13",
|
|
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
"@typescript-eslint/parser": "^5.44.0",
|
|
"axios-mock-adapter": "^1.21.2",
|
|
"eslint": "^8.28.0",
|
|
"mocha": "^10.1.0",
|
|
"nodemon": "^2.0.20",
|
|
"nyc": "^15.1.0",
|
|
"sinon": "^14.0.2",
|
|
"ts-mock-imports": "^1.3.8",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|