ape-gulp

0.2.0 • Public • Published

ape-gulp

Automate and enhance your workflow.

Usage

npm install ape-gulp --save-dev

TODO: on change dir in basic gulpFile try catch errors if the error is "ENOENT: no such file or directory, uv_chdir" then throw error about missing ape-gulp package.

Git hooks permissions

chmod 500 ./.git/hooks/post-merge

Setup

Edit package.json Add gulp script to scripts list

"scripts": {
    "gulp": "gulp --cwd ./node_modules/ape-gulp"
}

Add gulpConfig and regiter tasks to load

"gulpConfig": {
    "tasks": {
        "test": {}
    }
}

Install and add as dev dependency

npm install --save-dev ape-gulp

Contribute

Requirements

npm install -g gulp

Development

Navigate to development folder

cd development

Scripts to the gulp

npm run {{npm script name}} {{task names seperated with space}} -- {{options seperated with space and prefixed with '--' for example '--option --another-option'}} 

Stage (post publish)

Pack the NPM package localy:

npm pack

You should now get the pack version like:

ape-gulp-{{0.0.0}}.tgz

Then navigate to stage folder

cd stage

Try to install before publish:

npm install ./../ape-gulp-{{0.0.0}}.tgz

Run the script to test

npm run {{npm script name}} {{task names seperated with space}} -- {{options seperated with space and prefixed with '--' for example '--option --another-option'}}

Version

Bump a package semantic version using npm version

npm version patch -m "Upgrade to %s"

Publish

npm publish

Deprecations

npm WARN deprecated gulp-minify-css@1.2.4: Please use gulp-clean-css

Keywords

none

install

npm i ape-gulp

Downloadsweekly downloads

0

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability