Skip to content

Commit

Permalink
fix: ignore unnecessary files in release build
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed May 14, 2021
1 parent 525ad03 commit d59c987
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,8 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk

__fixtures__/
__mocks__/
__tests__/
.*
*.test.js
circle.yml
docs/
yarn.lock
Expand Down
5 changes: 2 additions & 3 deletions .npmignore-sync
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ Global/Linux.gitignore
Global/Windows.gitignore

[inline]
__fixtures__/
__mocks__/
__tests__/
.*
*.test.js
circle.yml
docs/
yarn.lock
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"license": "MIT",
"author": "foray1010",
"bin": "src/bin.js",
"files": [
"src",
"*.md"
],
"scripts": {
"ci": "yarn lint:js && yarn lint:md && yarn test",
"eslint": "eslint --ext=cjs,js,mjs,ts,tsx --ignore-path=node_modules/@foray1010/eslint-config/eslintignore",
Expand Down

0 comments on commit d59c987

Please sign in to comment.