From 53ae93b877e3939148e8e892222928e75f83709a Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Fri, 8 Feb 2019 14:20:19 +0100 Subject: [PATCH] Clean package.json file --- .npmignore | 4 ---- package.json | 10 ++++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 1854d81..0000000 --- a/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -.travis.yml -tsconfig.json -*.test.js -*.example.js diff --git a/package.json b/package.json index 10d9e5d..c2317ca 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,15 @@ "description": "Geoblocks projections", "main": "dist/proj.js", "module": "dist/proj.js", - "source": "src/index.js", + "geoblocks_src": "src/index.js", + "files": [ + "/src", + "/dist", + "!/dist/api", + "!*.test.js" + ], "scripts": { - "build": "microbundle --format es", + "build": "microbundle --format es --entry src/index.js", "eslint": "eslint src/*.js", "typecheck": "tsc --pretty", "lint": "npm run eslint && npm run typecheck",