From 0c8ed2dafffc5138900e76f6f485db98fba513d9 Mon Sep 17 00:00:00 2001 From: zombiej Date: Wed, 2 Oct 2019 15:24:07 +0800 Subject: [PATCH] docs: add now --- now.json | 11 +++++++++++ package.json | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 now.json diff --git a/now.json b/now.json new file mode 100644 index 00000000..63c3428c --- /dev/null +++ b/now.json @@ -0,0 +1,11 @@ +{ + "version": 2, + "name": "rc-tabs", + "builds": [ + { + "src": "package.json", + "use": "@now/static-build", + "config": { "distDir": "build" } + } + ] +} diff --git a/package.json b/package.json index 7f7662a9..0f09efb2 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,8 @@ "test": "jest", "updateSn": "jest --updateSnapshot", "chrome-test": "rc-test run chrome-test", - "coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls" + "coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls", + "now-build": "npm run build" }, "jest": { "setupFiles": [