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 30, 2022
1 parent b283a3e commit 5c7de12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 111 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -107,3 +107,5 @@ dist
npm-shrinkwrap.json
package-lock.json
yarn.lock

.npmignore
111 changes: 0 additions & 111 deletions .npmignore

This file was deleted.

7 changes: 7 additions & 0 deletions package.json
Expand Up @@ -10,6 +10,7 @@
},
"sideEffects": false,
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"prelint": "evalmd README.md",
Expand Down Expand Up @@ -62,6 +63,7 @@
"evalmd": "^0.0.19",
"in-publish": "^2.0.1",
"isarray": "^2.0.5",
"npmignore": "^0.3.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^2.0.0",
"tape": "^5.6.1"
Expand All @@ -73,5 +75,10 @@
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
},
"publishConfig": {
"ignore": [
".github/workflows"
]
}
}

0 comments on commit 5c7de12

Please sign in to comment.