Nobody Preheats Microwaves

    cartridge-copy-assets

    3.0.0 • Public • Published

    Cartridge Copy Assets Build Status

    Copy Assets expansion pack for Cartridge

    To use this module, you will need cartridge-cli installed and have a cartridge project setup.

    npm install cartridge-copy-assets --save-dev

    Maintainers

    Name Github Profile
    Matthew Claffey code-mattclaffey
    Tristan Ashley tawashley

    Task Config

    Copy tasks are defined in the task.copy-assets.js config file. Each key of the taskConfig object makes a new gulp task.

    The only predefined task, copy-assets, runs all copy tasks one after another.

    How to add new copy tasks

    Copy tasks are described in the config file task.copy-assets.js. Adding a new key to the taskConfig object outlines a copy task.

    var taskConfig = {
            fonts: {
                src: 'path/to/src', //This can be a file, folder or glob
                dest: 'path/to/dest' //If directory doesn't exist, it will be created
            }
    };
    

    This will create the copy task fonts for you as long as your src & dest directories are correct.

    Running gulp copy-assets:fonts will copy the contents of the path fonts.src to the path fonts.dest


    Development

    Commit message standards Commitizen friendly

    Try and adhere as closely as possible to the Angular commit messages guidelines.

    Commitizen is a command line tool which can help with this:

    npm install -g commitizen

    Now, simply use git cz instead of git commit when committing.

    Install

    npm i cartridge-copy-assets

    DownloadsWeekly Downloads

    0

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    7.99 kB

    Total Files

    9

    Last publish

    Collaborators

    • codecomputerlove