Skip to content

Commit

Permalink
fix(ci): custom build for digitalocean
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloose committed Nov 9, 2023
1 parent 656610b commit 0fcb777
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
"main": "app.js",
"scripts": {
"build": "npx tsc",
"build:digitalocean": "npm install --production=false && npm run build && npm ci",
"start": "node dist/src/server.js",
"dev": "tsx watch src/server.ts",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "npx eslint 'src/**/*.{js,ts,tsx}' --quiet",
"lint:fix": "npx eslint 'src/**/*.{js,ts,tsx}' --quiet --fix",
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install",
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production') process.exit(1) \" || husky install",
"setupdb": "tsx scripts/setup-db.ts"
},
"author": "medicomas",
Expand Down

0 comments on commit 0fcb777

Please sign in to comment.