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 f9fdfc0 commit be2e038
Show file tree
Hide file tree
Showing 2 changed files with 9 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
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"tap": "~0.4.0"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=auto",
"test": "tap test/*.js"
},
"testling" : {
Expand Down Expand Up @@ -36,5 +37,10 @@
"email": "[email protected]",
"url": "http://substack.net"
},
"license": "MIT"
"license": "MIT",
"publishConfig": {
"ignore": [
".github/workflows"
]
}
}

0 comments on commit be2e038

Please sign in to comment.