Skip to content

Commit

Permalink
fix: install script
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrycool123 committed Feb 25, 2024
1 parent 8078b31 commit 2f613af
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions apps/sls-backup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@
},
"main": "index.js",
"scripts": {
"build": "#noop",
"deploy": "serverless deploy --stage production",
"dev": "serverless offline start --verbose",
"build": "pnpm run download-mongodump",
"deploy": "pnpm run download-mongodump && serverless deploy --stage production",
"dev": "pnpm run download-mongodump && serverless offline start --verbose",
"download-mongodump": "tsx ./scripts/download-mongodump.ts",
"package": "serverless package --stage production",
"postinstall": "pnpm run download-mongodump"
"package": "pnpm run download-mongodump && serverless package --stage production"
},
"type": "module"
}

0 comments on commit 2f613af

Please sign in to comment.