/ serenity-js Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
fix(protractor): optional Serenity/JS modules are marked as peerDepen…
…dencies to avoid NPM installing them by default While this change might result in NPM warning the user that there is an "unmet peer dependency" when installing @serenity-js/protractor or @serenity-js/cucumber modules, it seems like a better option than the default NPM behaviour of installing all the "optional" dependencies by default, forcing the user to download more dependencies than they want or need. More details about the npm issue: - npm/npm#3066 - https://npm.community/t/npm-install-no-optional-not-actually-filtering-optionals-in-cli-6-0-1-or-6-1-0/257
- Loading branch information
Showing 3 changed files with 6 additions and 8 deletions.