1.0.1 • Published 5 years ago

promisifyish v1.0.1

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

promiseifyish

Wraps functions and objects into promises.

Build Status NPM version Dependency Status

Introduction

Wraps functions of the form fn(...args, successCallback, failureCallback) into Promises.

Setup

npm install

Running Tests

To run tests against the source code and dist folder (including coverage):

npm test
``


# Deploying
This is a basic script which can be used to build and deploy (to NPM) the project.

export VERSION=... git checkout -b release/$VERSION npm run test npm version --no-git-tag-version patch git add package* git commit -m 'Version bump' npx auto-changelog -p git add CHANGELOG.md git commit -m 'Updated changelog' git add dist/ git commit -m 'Generated artifacts' git checkout master git merge --no-ff release/$VERSION git tag -a -m 'Tagged for release' $VERSION git branch -d release/$VERSION git checkout develop git merge --no-ff master git push --all && git push --tags