Skip to content

Commit

Permalink
Merge pull request #172 from ZhenHe17/fix/demo-start-scripts
Browse files Browse the repository at this point in the history
fix: demo start scripts
  • Loading branch information
sofiapoh authored Oct 30, 2019
2 parents 1b9342e + 616649a commit 6bc5776
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
"private": true,
"license": "MIT",
"scripts": {
"dev": "node server.js",
"build": "next build && next export",
"start": "NODE_ENV=production node server.js"
"prebuild": "cd .. && yarn && yarn build",
"prebuild:npm": "cd .. && npm i && npm run build",
"dev": "next",
"build": "next build",
"start": "NODE_ENV=production next start"
},
"dependencies": {
"babel-plugin-polished": "^1.0.3",
Expand Down

0 comments on commit 6bc5776

Please sign in to comment.