mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-31 03:48:37 +03:00
compile as part of the test script since ts-node doesn't typecheck everything
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"description": "Server that holds the SponsorBlock database",
|
"description": "Server that holds the SponsorBlock database",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "ts-node test/test.ts",
|
"test": "npm run tsc && ts-node test/test.ts",
|
||||||
"dev": "nodemon",
|
"dev": "nodemon",
|
||||||
"dev:bash": "nodemon -x 'npm test ; npm start'",
|
"dev:bash": "nodemon -x 'npm test ; npm start'",
|
||||||
"start": "ts-node src/index.ts",
|
"start": "ts-node src/index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user