From 0a553558c44344196a1410f359c6311d407625ed Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 22 Mar 2019 12:57:56 +0200 Subject: [PATCH] chore(now) get back to v1, since v2 not support web sockets (zeit/micro#377) --- now.json | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/now.json b/now.json index 69524695..b84b530c 100644 --- a/now.json +++ b/now.json @@ -1,10 +1,7 @@ { - "version": 2, + "version": 1, + "type": "npm", "alias": "cloudcmd", - "builds": [{ - "src": "bin/cloudcmd.js", - "use": "@now/node-server" - }], "env": { "cloudcmd_config_dialog": "true", "cloudcmd_config_auth": "false", @@ -18,5 +15,30 @@ "cloudcmd_export_token": "hello", "cloudcmd_name": "Cloud Commander - Now", "cloudcmd_open": "false" - } + }, + "engines": { + "node": "8" + }, + "files": [ + "bin", + "server", + ".babelrc", + ".madrun.js", + "css", + "font", + "favicon.ico", + "client", + "common", + "html", + "tmpl", + "img", + "man", + "modules", + "madrun.js", + ".webpack", + "webpack.config.js", + "cssnano.config.js", + "json", + "HELP.md" + ] }