mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
c9a0fb7bc3
Fixes #471
53 lines
1.6 KiB
JSON
53 lines
1.6 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",
|
|
"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:alpine",
|
|
"redis:docker": "docker run --rm -p 6379:6379 redis:alpine",
|
|
"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": "MIT",
|
|
"dependencies": {
|
|
"axios": "^0.24.0",
|
|
"better-sqlite3": "^7.4.5",
|
|
"cron": "^1.8.2",
|
|
"express": "^4.17.1",
|
|
"express-promise-router": "^4.1.1",
|
|
"express-rate-limit": "^6.3.0",
|
|
"lodash": "^4.17.21",
|
|
"pg": "^8.7.1",
|
|
"rate-limit-redis": "^3.0.1",
|
|
"redis": "^4.0.6",
|
|
"sync-mysql": "^3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.4.1",
|
|
"@types/cron": "^1.7.3",
|
|
"@types/express": "^4.17.13",
|
|
"@types/lodash": "^4.14.178",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/node": "^16.11.11",
|
|
"@types/pg": "^8.6.1",
|
|
"@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"
|
|
},
|
|
"engines": {
|
|
"node": ">=10"
|
|
}
|
|
}
|