Skip to content

Commit

Permalink
add build config
Browse files Browse the repository at this point in the history
  • Loading branch information
yinkakun committed Oct 23, 2022
1 parent 7dbd8e4 commit d3304e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: npm run start
6 changes: 5 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"seed": "medusa seed -f ./seed-data.json",
"build": "babel src -d dist --extensions \".ts,.js\"",
"start": "medusa develop"
"develop": "medusa develop",
"start": "medusa migrations run && medusa develop -p=8080"
},
"dependencies": {
"@medusajs/medusa": "^1.3.7",
Expand All @@ -21,5 +22,8 @@
"@babel/core": "^7.18.10",
"@babel/preset-typescript": "^7.14.5",
"babel-preset-medusa-package": "^1.1.19"
},
"engines": {
"node": ">=16.0.0"
}
}

0 comments on commit d3304e9

Please sign in to comment.