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 Jul 6, 2022
1 parent 4f8b57c commit f03b524
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 @@ -20,3 +20,5 @@ node_modules
npm-shrinkwrap.json
package-lock.json
yarn.lock

.npmignore
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@
"@ljharb/eslint-config": "^21.0.0",
"covert": "^1.1.1",
"eslint": "=8.8.0",
"npmignore": "^0.3.0",
"tape": "^5.5.3"
},
"license": "MIT",
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"pretest": "npm run lint",
"test": "npm run tests-only",
"posttest": "npm run coverage -- --quiet",
Expand All @@ -58,5 +60,10 @@
"iphone/6.0..latest",
"android-browser/4.2..latest"
]
},
"publishConfig": {
"ignore": [
".github/workflows"
]
}
}

0 comments on commit f03b524

Please # to comment.