UNPKG

pendings

Version:
64 lines (63 loc) 1.68 kB
{ "name": "pendings", "version": "0.2.7", "description": "Better control of promises", "author": { "name": "Vitaliy Potapov", "email": "noginsk@rambler.ru" }, "repository": { "type": "git", "url": "git://github.com/vitalets/pendings.git" }, "engines": { "node": ">=4" }, "scripts": { "code": "npm run lint-all", "lint-all": "eslint src test", "lint-staged": "lint-staged", "babel": "babel src --out-dir lib", "test": "mocha test/specs --require=test/globals.js", "test-lib": "TEST_LIB=1 npm t", "ci": "npm run code && npm run babel && npm run test-lib", "docs": "jsdoc2md --template README_TEMPLATE.md --files src/*.js > README.md", "release": "npm run code && npm test && npm version $VER && npm publish && git push --follow-tags --no-verify", "release-patch": "VER=patch npm run release", "release-minor": "VER=minor npm run release", "precommit": "npm run lint-staged && npm t", "prepush": "npm run code && npm t", "prepublish": "npm run babel && npm run test-lib" }, "lint-staged": { "{src,test}/**/*.js": "eslint" }, "main": "lib/index.js", "babel": { "presets": [ "es2015" ] }, "devDependencies": { "babel-cli": "^6.24.1", "babel-preset-es2015": "^6.24.1", "chai": "^4.1.1", "chai-as-promised": "^7.1.1", "eslint": "^4.4.1", "husky": "^0.14.3", "jsdoc-to-markdown": "^3.0.0", "lint-staged": "^4.0.3", "mocha": "^3.5.0" }, "keywords": [ "promise", "promises", "resolve", "reject", "fulfill", "promise-library", "promise-wrapper", "promise-api" ], "license": "MIT" }