live-locator

0.0.4 • Public • Published

live-locator

Find modules containing Live plugins (live*.js files) of a specific type.

NPM Version Linux Build Test Coverage

Install

npm i -S live-locator

Usage

TODO

Options

modules
 - foo
   - live.js
   - live.browser.js
 - bar
   - live.js
   - live.routes.js
   - live.gulp.js
liveLocator({
  moduleDirectories: ['modules', 'node_modules'],
  suffixes: ['browser']
  // suffixes: ['', 'browser']
})
 
>>> [{moduleName: 'foo', modulePath: 'modules/foo', filePath: 'modules/foo/live.js', fileSuffix: 'browser'}]

JetBrains Webstorm/IntelliJ Tip

Scope

Create a Scope to allow filtering the Project Tool Window to only show live.js files.

This can be useful to debug Live app startup and the ordering of callbacks.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    13
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    13
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i live-locator

Weekly Downloads

13

Version

0.0.4

License

MIT

Last publish

Collaborators

  • vjpr