Skip to content

Commit f81ece6

Browse files
committed
[meta] use npmignore to autogenerate an npmignore file
1 parent 6b164c7 commit f81ece6

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ node_modules
66
npm-shrinkwrap.json
77
package-lock.json
88
yarn.lock
9+
10+
.npmignore

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
"main": "index.js",
66
"devDependencies": {
77
"covert": "^1.0.0",
8+
"npmignore": "^0.3.0",
89
"tap": "~0.4.0",
910
"tape": "^3.5.0"
1011
},
1112
"scripts": {
13+
"prepack": "npmignore --auto --commentLines=auto",
1214
"test": "tap test/*.js",
1315
"coverage": "covert test/*.js"
1416
},
@@ -41,5 +43,10 @@
4143
"email": "mail@substack.net",
4244
"url": "http://substack.net"
4345
},
44-
"license": "MIT"
46+
"license": "MIT",
47+
"publishConfig": {
48+
"ignore": [
49+
".github/workflows"
50+
]
51+
}
4552
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy