0.0.20 • Published 5 years ago

asset-assistant v0.0.20

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

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

0.0.20

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago