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 May 2, 2023
1 parent 6fcbdf9 commit f44a07b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ Thumbs.db
# Files that might appear on external disks
.Spotlight-V100
.Trashes

.npmignore
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
},
"bugs": "https://github.com/mathiasbynens/String.fromCodePoint/issues",
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"lint": "eslint --ext=js,mjs .",
"postlint": "es-shim-api --bound",
"pretest": "npm run lint",
Expand All @@ -47,7 +48,13 @@
"@ljharb/eslint-config": "^21.0.1",
"eslint": "=8.8.0",
"functions-have-names": "^1.2.3",
"npmignore": "^0.3.0",
"nyc": "^10.3.2",
"tape": "^5.6.3"
},
"publishConfig": {
"ignore": [
".github/workflows"
]
}
}

0 comments on commit f44a07b

Please # to comment.