README.md in npmdc-0.2.4 vs README.md in npmdc-0.2.5
- old
+ new
@@ -3,17 +3,20 @@
[](https://badge.fury.io/rb/npmdc)
npmdc
=========
+
+
+
**NPM Dependency Checker** is a simple tool which can check for missed dependencies based on your `package.json` file.
+
<a href="https://evilmartians.com/?utm_source=npmdc">
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54">
</a>
-
## Installation
Add this line to your application's Gemfile:
```ruby
@@ -35,10 +38,11 @@
```ruby
YourApp::Application.configure do
config.npmdc.path = "/path/to/your/frontend/code/dir" # `Rails.root` by default
config.npmdc.format = "doc" # `short`, `doc`, `progress`. `short` by default
config.npmdc.color = false # `true` by default
+ config.npmdc.types = ["dependencies"] # `["dependencies", "devDependencies"]` by default
end
```
### CLI tool:
@@ -53,9 +57,10 @@
* --color - Disable color formatting of output
* -f, --format FORMAT - Set format of output
+* -t, --types dependencies devDependencies - Dependency types to check
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.