README.md in js_dependency-0.3.4 vs README.md in js_dependency-0.3.5

- old
+ new

@@ -17,11 +17,11 @@ $ gem install js_dependency ## Usage ### By Command Line -#### Version +#### Show version ```shell js_dependency version # => "X.X.X" ``` @@ -86,9 +86,24 @@ ```shell js_dependency childrent -s ./src -t ./src/App.vue -o ./children.txt -c 2 ``` +#### Export orphan components list + +Components that are not used in other components. + +```shell +js_dependency orphan -s ./src +``` + +#### Export left components list + +Components that do not import other components. + +```shell +js_dependency leave -s ./src +``` ### By ruby code If your javascript code is in `./src` and `./src/App.vue` is in the directory, you can analyze `./src/App.vue` dependency like this: ```ruby