ember-find-related-files

Find related files in an EmberJS project directory.

Usage

npm install ember-find-related-files
import findRelatedFiles from 'ember-find-related-files'

findRelatedFiles('/Users/josa/g/my-app', 'app/components/my-component.js')
// => [
//   { label: 'Template',  path: 'app/templates/components/my-component.hbs' },
//   { label: 'Unit test', path: 'tests/unit/components/my-component-test.js' }
// ]


findType('/Users/josa/g/my-app', 'component')
// => [
//   { label: 'my-component',  path: 'app/templates/components/my-component.hbs' }
// ]

Support library for:

License

The MIT License