Skip to content

Commit

Permalink
Deploy demos to wobble-demos.now.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Miskiewicz committed Jan 16, 2018
1 parent 6112980 commit 4172c9c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions demos/dist/now.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "static",
"alias": "wobble-demos"
}
1 change: 1 addition & 0 deletions demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<title>Demos</title>
</head>
<body>
<h1>Demos</h1>
<ul>
<li><a href="./1-chat-heads/index.html">Chat Heads</a></li>
</ul>
Expand Down
6 changes: 6 additions & 0 deletions demos/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"name": "wobble-demos",
"scripts": {
"start": "parcel serve",
"build": "parcel build index.html --public-url ./",
"deploy": "yarn build && cd dist && now --public && now alias"
},
"dependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0",
Expand All @@ -9,6 +14,7 @@
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"now": "^9.1.0",
"parcel-bundler": "^1.4.1"
}
}
6 changes: 5 additions & 1 deletion demos/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2482,6 +2482,10 @@ normalize-url@^1.4.0:
query-string "^4.1.0"
sort-keys "^1.0.0"

now@^9.1.0:
version "9.1.0"
resolved "https://registry.yarnpkg.com/now/-/now-9.1.0.tgz#b13feae859311fd3d4d0f084e02a1a67680c7116"

npmlog@^4.0.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
Expand Down Expand Up @@ -3749,7 +3753,7 @@ window-size@0.1.0:
resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d"

"wobble@link:..":
version "1.2.0"
version "1.3.0"

wordwrap@0.0.2:
version "0.0.2"
Expand Down

0 comments on commit 4172c9c

Please sign in to comment.