Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asset-assistant

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asset-assistant

A lightweight tool for copying files from other packages.

  • 0.0.20
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

Asset assistant is an npm tool for coordinating asset files across multiple projects.

Versions

The 0.0.* versions are for building up the repository and may have changes in the command specification.

Prerequisites

These programs are intended to be used with the npm package manager. As such they make use of the package.json file and the node_modules directory.

Installation

npm install -g asset-assistant

Usage

  • Run the assets intializeer with 'assets init'. Adds and 'assets' parameter to the package.json file.
  • The following can now be found in the package.json 'assets' field.
    • src: An array of paths from witch to copy this projects files. The directory tree will be preserved. Default is '/assets/**/*'.
    • root: The directory to search for source paths. This directory tree will not be preserved. Default is 'src'.
    • dest: The directory where files will be copied to. Default is 'public_html'. This is where other projects assets will be copied to. defaults to 'public_html'.
  • Remove 'assets' parameter from package.json with assets --clear. The scripts will remain unchanged. Note, this can be used to clear any parameter, defaults to assets.

assets add project: add an assets dependency. The project must first be installed with 'npm -i' and have been initialized with 'assets init'. assets remove project: remove a project from the assets dependency. assets clear: remove the assets field from package.json.

The asset command accepts the following flags:

  • -v : Verbose, print out packages looked at and files copied.
  • -d : Debug, print out more information.

Development

See https://github.com/Thaerious/asset-assistant

Keywords

FAQs

Package last updated on 07 Mar 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc