Skip to content

Commit

Permalink
Using npmignore to override gitignore, allowing dist files to be publ…
Browse files Browse the repository at this point in the history
…ished
  • Loading branch information
rwillians committed Dec 28, 2019
1 parent 122fc02 commit 0e3d31c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!dist/
!LICENSE
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ after_success:
- npm install -g coveralls && npm run coverage:report | coveralls

before_deploy:
- npm install
- npm ci
- npm run build

deploy:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-rescue",
"version": "1.1.23",
"version": "1.1.24",
"description": "A wrapper for async functions which makes sure all async errors are passed to your errors handler",
"license": "MIT",
"main": "dist/index.js",
Expand All @@ -27,9 +27,6 @@
"engines": {
"node": ">=7.6.0"
},
"files": [
"dist/*"
],
"scripts": {
"coverage": "nyc --reporter=text --include index.js npm test",
"coverage:report": "nyc report --reporter=text-lcov",
Expand Down

0 comments on commit 0e3d31c

Please sign in to comment.