Skip to content

Commit

Permalink
deps: apply yarn-deduplicate and add deduplicate script
Browse files Browse the repository at this point in the history
Motivation:
https://github.com/atlassian/yarn-deduplicate#why-is-this-necessary

Benefits:
Smaller & less nested node_modules
less deps are loaded into node when running dev stuff

It's good to run this command after every deps changes

Co-Authored-By: Anton Gilgur <[email protected]>
  • Loading branch information
Bnaya and agilgur5 committed Aug 25, 2020
1 parent d5bbcf7 commit d053912
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 508 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"test": "yarn build && yarn test:post-build",
"test:post-build": "node dist/index.js test",
"start": "tsc -p tsconfig.json --watch",
"release": "np"
"release": "np",
"deduplicate": "npx yarn-deduplicate -s fewer yarn.lock"
},
"files": [
"dist",
Expand Down
Loading

0 comments on commit d053912

Please sign in to comment.