Add NPM start command

This commit is contained in:
Matt Isenhower 2024-11-07 08:30:47 -08:00
parent 5fadc842f0
commit eec92030aa
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@
"build": "vue-cli-service build --modern --no-clean",
"lint": "vue-cli-service lint",
"cron": "node src/app/cron",
"start": "npm run sync && npm run cron",
"locale-man": "node node_modules/locale-man/ -l en,es,es-MX,fr,fr-CA,de,nl,it,ru,ja -o src/locale",
"splatnet": "node src/app splatnet",
"twitter": "node src/app twitter",

View File

@ -15,6 +15,8 @@ function sync() {
return;
}
console.info('Syncing files...');
const syncer = new S3Syncer();
return syncer.sync();
}