add start shell script

This commit is contained in:
Tomáš Mládek 2024-09-17 20:56:27 +02:00
parent 2b28a7ed38
commit 441703b1a2
2 changed files with 7 additions and 1 deletions

View file

@ -4,7 +4,8 @@
"version": "0.0.1", "version": "0.0.1",
"main": "index.mts", "main": "index.mts",
"scripts": { "scripts": {
"start": "tsx index.mts" "start": "tsx index.mts",
"build": "true"
}, },
"dependencies": { "dependencies": {
"puppeteer": "^23.3.0", "puppeteer": "^23.3.0",

5
start.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -x
git pull
pnpm build
pnpm start