component-remove

0.0.4 • Public • Published

component-remove Build Status

Remove files from component.json

Install

npm install -g component-remove

Usage

component-remove(1) removes the reference from the component.json and delete the file.

component remove index.js

It is possible to remove multiple files:

component remove index.js foo.css tpl.html

With the flag -k or --keep-file the reference is removed but the file is not deleted.

Supported extensions

scripts:

  • .js
  • .coffee

styles:

  • .css
  • .styl
  • .sass
  • .scss

templates:

  • .html
  • .jade
  • .hbs

You can make a PR to support more extension.

Dependencies (3)

Dev Dependencies (2)

Package Sidebar

Install

npm i component-remove

Weekly Downloads

2

Version

0.0.4

License

MIT

Last publish

Collaborators

  • kewah