0.4.0 • Published 5 years ago

ember-find-related-files v0.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

ember-find-related-files

npm.io npm.io npm.io npm.io

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

0.4.0

5 years ago

0.3.1

6 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.1.0-beta.1

7 years ago