From 6d8e58c5d83af5703737710aaf89a1b98c46de36 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 15 Mar 2019 13:53:33 +0200 Subject: [PATCH] chore(now) v2 --- now.json | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/now.json b/now.json index a35a8e3e..69524695 100644 --- a/now.json +++ b/now.json @@ -1,6 +1,10 @@ { - "type": "npm", + "version": 2, "alias": "cloudcmd", + "builds": [{ + "src": "bin/cloudcmd.js", + "use": "@now/node-server" + }], "env": { "cloudcmd_config_dialog": "true", "cloudcmd_config_auth": "false", @@ -14,29 +18,5 @@ "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", - ".webpack", - "webpack.config.js", - "cssnano.config.js", - "json", - "HELP.md" - ] + } }