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 25, 2022
1 parent ddb843f commit b5d7d3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
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
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
"aud": "^2.0.1",
"eslint": "=8.8.0",
"in-publish": "^2.0.1",
"npmignore": "^0.3.0",
"safe-publish-latest": "^2.0.0",
"tape": "^5.6.1"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"lint": "eslint --ext=js,mjs .",
Expand Down Expand Up @@ -53,6 +55,10 @@
"email": "mail@substack.net",
"url": "http://substack.net"
},
"license": "MIT"
>>>>>>> 47b2b3c ([eslint] fix indentation and whitespace)
"license": "MIT",
"publishConfig": {
"ignore": [
".github/workflows"
]
}
}

0 comments on commit b5d7d3a

Please sign in to comment.