Skip to content

Atom plugin to run tradeship, which automatically imports missing JS dependencies.

License

Notifications You must be signed in to change notification settings

karthikv/tradeship-atom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tradeship for Atom

Atom package to run tradeship, which automatically imports missing JS dependencies and removes unused ones.

Installation

Ensure you have tradeship installed:

$ npm install -g tradeship
# or use yarn:
$ yarn global add tradeship

In Atom, settings/preferences > install > search "tradeship". Or:

$ apm install tradeship

Usage

To run tradeship, you may either:

  • Press ctrl + alt + i
  • Right click > Import Dependencies
  • Packages > tradeship > Import Dependencies
  • To run on save, go to settings (Packages > tradeship > Settings) and enable import on save.

The first time tradeship runs in a project directory with many JavaScript files, it'll take some time to parse and cache dependencies. Future runs will be much faster.

License

MIT

About

Atom plugin to run tradeship, which automatically imports missing JS dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published