Skip to content

Commit

Permalink
Configuration for Now deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
raulg committed Apr 3, 2019
1 parent 7f7fd33 commit d5ef70f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions now.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": 2,
"name": "gatsby-coffee-demo",
"builds": [
{
"src": "package.json",
"use": "@now/static-build",
"config": {
"distDir": "public"
}
}
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"format": "prettier --write src/**/*.{js,jsx}",
"start": "npm run develop",
"serve": "gatsby serve",
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\"",
"now-build": "npm run build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d5ef70f

Please sign in to comment.