diff --git a/demos/dist/now.json b/demos/dist/now.json
new file mode 100644
index 0000000..b4ce3eb
--- /dev/null
+++ b/demos/dist/now.json
@@ -0,0 +1,4 @@
+{
+ "type": "static",
+ "alias": "wobble-demos"
+}
diff --git a/demos/index.html b/demos/index.html
index b129a21..8ab7358 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -3,6 +3,7 @@
Demos
+ Demos
diff --git a/demos/package.json b/demos/package.json
index 902b028..3ba8244 100644
--- a/demos/package.json
+++ b/demos/package.json
@@ -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",
@@ -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"
}
}
\ No newline at end of file
diff --git a/demos/yarn.lock b/demos/yarn.lock
index 13d5f41..8025c59 100644
--- a/demos/yarn.lock
+++ b/demos/yarn.lock
@@ -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"
@@ -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"