Socket
Book a DemoInstallSign in
Socket

component-assets

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

component-assets

Easily add assets to your component.json

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

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/*

Keywords

component

FAQs

Package last updated on 12 Sep 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts