Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(manifest): on publish removes devDependencies & scripts (#905)
## Description - on publish removes devDependencies, scripts and other stuff not necessary to have for runtime dependency-cruiser usage - also on publish: adds a dummy 'test' script with a message to run tests etcetera on the ci (and so socket.dev doesn't shows its bogus warning about missing tests, which shouldn't be on npmjs in the first place) ## Motivation and Context - Makes the published package ~10kb smaller ## How Has This Been Tested? - [x] green ci - [x] local publish - [x] publish on npmjs (see https://www.npmjs.com/package/dependency-cruiser/v/16.1.0-beta-1?activeTab=code), install as a devDependency on state-machine-cat and run it ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Documentation only change - [ ] Refactor (non-breaking change which fixes an issue without changing functionality) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change)
- Loading branch information