Skip to content

Commit

Permalink
[meta] use npmignore to autogenerate an npmignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 10, 2022
1 parent 6b164c7 commit f81ece6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ node_modules
npm-shrinkwrap.json
package-lock.json
yarn.lock

.npmignore
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -41,5 +43,10 @@
"email": "[email protected]",
"url": "http://substack.net"
},
"license": "MIT"
"license": "MIT",
"publishConfig": {
"ignore": [
".github/workflows"
]
}
}

0 comments on commit f81ece6

Please sign in to comment.