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",