ape-gulp
Automate and enhance your workflow.
Last updated 4 years ago by hamedape .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ape-gulp 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.2.0                                ...           latest (4 years ago)

7 Versions

  • 0.2.0                                ...           4 years ago
  • 0.1.3                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |