textlintrc-to-package-list
v3.0.3
Published
listing package name from .textlintrc
Readme
textlintrc-to-package-list 
Listing package name from .textlintrc
Main use case is installing npm package from .textlinrc
Installation
npm install textlintrc-to-package-list -gUsage
$ textlintrc-to-package-list ./path/to/.textlintrcExaple
Input .textlintrc
{
"plugins": [
"@textlint/html"
],
"filters": {
"comments": true
},
"rules": {
"@textlint/preset-ja-technical-writing": true,
"textlint-rule-no-todo": true,
"sentence-length": {
"max": 100
}
}
}Output
@textlint/textlint-plugin-html
textlint-filter-rule-comments
@textlint/textlint-rule-preset-ja-technical-writing
textlint-rule-no-todo
textlint-rule-sentence-lengthUseCase
Install npm package from .textlintrc
npm install -g textlintrc-to-package-list
textlintrc-to-package-list .textlintrc | xargs npm installor
npx --quiet textlintrc-to-package-list .textlintrc.json | xargs npm installDo Install all package from .textlintrc!
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
License
MIT
