From e3b9a094d86563b065157a544549cbedd8dcc8d0 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Wed, 9 Sep 2020 16:25:10 +0000 Subject: [PATCH] remove test, add files section to package.json --- core/test.mjs | 7 ------- package.json | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 core/test.mjs diff --git a/core/test.mjs b/core/test.mjs deleted file mode 100644 index 659accf..0000000 --- a/core/test.mjs +++ /dev/null @@ -1,7 +0,0 @@ -import * as client from './client.mjs' - -client.request('https://api.github.com/repos/thething/sc-helloworld/releases') - .then( - a => console.log('res:', a), - err => console.error('err', err) - ).then(() => process.exit(0)) diff --git a/package.json b/package.json index d1d7f56..bf88e4b 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,12 @@ "url": "https://github.com/TheThing/service-core/issues" }, "homepage": "https://github.com/TheThing/service-core#readme", + "files": [ + "lib.mjs", + "package.json", + "README.md", + "core" + ], "dependencies": { "bunyan-lite": "^1.0.1", "lodash": "^4.17.20",