0.2.0 • Published 10 years ago
ape-gulp v0.2.0
ape-gulp
Automate and enhance your workflow.
Usage
npm install ape-gulp --save-devTODO: 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-mergeSetup
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-gulpContribute
Requirements
npm install -g gulpDevelopment
Navigate to development folder
cd developmentScripts 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 packYou should now get the pack version like:
ape-gulp-{{0.0.0}}.tgzThen navigate to stage folder
cd stageTry to install before publish:
npm install ./../ape-gulp-{{0.0.0}}.tgzRun 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 publishDeprecations
npm WARN deprecated gulp-minify-css@1.2.4: Please use gulp-clean-css