Skip to content

krusty-krab/semver-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

semver-check

Checks package.json dependencies and devDependencies stanzas for semantic version characters.

If found, it logs each offending dependency to the console.

Usage

# Install as dep
$ npm install semver-check --save-dev

# Add a dep to your package.json that has one of these chars: *=~<>^
$ npm install chalk --save

# Run as a cli program.
$ ./node_modules/.bin/semver-check package.json
// -> chalk not pinned to specific version

Note

The first() higher order function, and why I'm using it.

About

Checks package.json dependencies and devDependencies stanzas for semantic version characters.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published