diff --git a/.gitignore b/.gitignore index c77d1b6..da9c2fc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ node_modules npm-shrinkwrap.json package-lock.json yarn.lock + +.npmignore diff --git a/package.json b/package.json index 2698384..8152d0a 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,12 @@ "main": "index.js", "devDependencies": { "covert": "^1.0.0", + "npmignore": "^0.3.0", "tap": "~0.4.0", "tape": "^3.5.0" }, "scripts": { + "prepack": "npmignore --auto --commentLines=auto", "test": "tap test/*.js", "coverage": "covert test/*.js" }, @@ -41,5 +43,10 @@ "email": "mail@substack.net", "url": "http://substack.net" }, - "license": "MIT" + "license": "MIT", + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } }