Skip to content

Commit

Permalink
[meta] switch from files to npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 5, 2024
1 parent 8961374 commit e41c881
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 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
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@
"version": "5.1.6",
"description": "utility library for parsing asn1 files for use with browserify-sign.",
"main": "index.js",
"files": [
"asn1.js",
"aesid.json",
"certificate.js",
"fixProc.js",
"index.js"
],
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"lint": "eslint --ext=js,mjs .",
"tests-only": "tape 'test/**/*.js'",
"pretest": "npm run lint",
Expand Down Expand Up @@ -38,6 +32,7 @@
"aud": "^2.0.4",
"auto-changelog": "^2.4.0",
"eslint": "=8.8.0",
"npmignore": "^0.3.1",
"tape": "^5.7.5"
},
"engines": {
Expand All @@ -50,5 +45,11 @@
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
},
"publishConfig": {
"ignore": [
".github/workflows",
"test"
]
}
}

0 comments on commit e41c881

Please sign in to comment.