Add install-node-dependencies npm script wrapper

Will help us to change the package manager in the future
pull/6544/head
Chocobozzz 2024-08-08 09:37:46 +02:00
parent 226f712d93
commit 6d28305582
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@
"server" "server"
], ],
"scripts": { "scripts": {
"install-node-dependencies": "yarn install --pure-lockfile",
"benchmark-server": "tsx --conditions=peertube:tsx ./scripts/benchmark.ts", "benchmark-server": "tsx --conditions=peertube:tsx ./scripts/benchmark.ts",
"benchmark-transcription": "tsx --conditions=peertube:tsx --tsconfig ./packages/transcription/tsconfig.json ./packages/transcription/src/benchmark.ts", "benchmark-transcription": "tsx --conditions=peertube:tsx --tsconfig ./packages/transcription/tsconfig.json ./packages/transcription/src/benchmark.ts",
"build:client": "bash ./scripts/build/client.sh", "build:client": "bash ./scripts/build/client.sh",