@reuters-graphics/ejector
v0.0.3
Published
Eject a dependency's source files from your `node_modules` directly into your working directory.
Downloads
2
Keywords
Readme
⏏️ EJECTOR
Eject a dependency's source files from your node_modules
directly into your working directory.
Why this?
TK.
Quickstart
$ yarn global add @reuters-graphics/ejector
CLI
Run ejector from the root of your project, and it will ask you which dependency you'd like to eject.
$ ejector
You can also supply a filter to limit the dependency options.
$ ejector -f @reuters-graphics
Module
import Ejector from '@reuters-graphics/ejector';
const ejector = new Ejector();
await ejector.eject();
// ... or with a filter
await ejector.eject('@reuters-graphics');
Testing
$ yarn build && yarn test