Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonyshort/component-assets
Easily add all your scripts, styles, images and files to your component.json file.
https://github.com/anthonyshort/component-assets
Last synced: 24 days ago
JSON representation
Easily add all your scripts, styles, images and files to your component.json file.
- Host: GitHub
- URL: https://github.com/anthonyshort/component-assets
- Owner: anthonyshort
- Created: 2013-08-18T08:07:33.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-12T21:41:40.000Z (about 11 years ago)
- Last Synced: 2024-04-15T03:16:20.047Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 95.7 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# component-assets
Easily add all your scripts, styles, images and files to your `component.json` file.
## Install
npm install -g component-assets
## Usage
component assets images:icons/* scripts:*.js styles:*.css files:*.scss
Each argument is parsed with the format `field:pattern`. So you can set any field
you want by just listing the files as a glob pattern.If you use no arguments:
component assets
it will use these arguments by default:
scripts:*.js styles:*.css files:files/* images:images/* templates:templates/*