UNPKG

bal-util

Version:

Common utility functions for Node.js used and maintained by Benjamin Lupton

152 lines (151 loc) 4.57 kB
{ "title": "Benjamin Lupton's Utility Functions", "name": "bal-util", "version": "2.8.0", "description": "Common utility functions for Node.js used and maintained by Benjamin Lupton", "homepage": "https://github.com/balupton/bal-util", "license": "MIT", "keywords": [ "javascript", "flow", "control", "async", "sync", "tasks", "batch", "utility", "util", "utilities", "paths", "path", "events", "event", "module", "modules", "compare", "comparison", "html" ], "badges": { "list": [ "travisci", "npmversion", "npmdownloads", "daviddm", "daviddmdev", "---", "patreon", "opencollective", "flattr", "paypal", "bitcoin", "wishlist", "---", "slackin" ], "config": { "patreonUsername": "bevry", "opencollectiveUsername": "bevry", "flattrUsername": "balupton", "paypalURL": "https://bevry.me/paypal", "bitcoinURL": "https://bevry.me/bitcoin", "wishlistURL": "https://bevry.me/wishlist", "slackinURL": "https://slack.bevry.me" } }, "author": "2011+ Benjamin Lupton <b@lupton.cc> (http://balupton.com)", "maintainers": [ "Benjamin Lupton <b@lupton.cc> (http://balupton.com)" ], "contributors": [ "Benjamin Lupton <b@lupton.cc> (http://balupton.com)", "Sean Fridman <mail@seanfridman.com> (http://seanfridman.com)" ], "bugs": { "url": "https://github.com/balupton/bal-util/issues" }, "repository": { "type": "git", "url": "https://github.com/balupton/bal-util.git" }, "engines": { "node": ">=0.12" }, "editions": [ { "description": "Source + CoffeeScript + Require", "directory": "source", "entry": "index.coffee", "syntaxes": [ "coffeescript", "require" ] }, { "description": "CoffeeScript Compiled + ESNext + Require", "directory": "esnext", "entry": "index.js", "syntaxes": [ "javascript", "esnext", "require" ] }, { "description": "CoffeeScript Compiled + ES2015 + Require", "directory": "es2015", "entry": "index.js", "syntaxes": [ "javascript", "es2015", "require" ] } ], "main": "index.js", "browser": "es2015/index.js", "dependencies": { "ambi": "^2.5.0", "eachr": "^3.2.0", "editions": "^1.3.4", "extendr": "^3.2.2", "extract-opts": "^3.3.1", "ignorefs": "^1.1.1", "safefs": "^4.1.0", "scandirectory": "^2.5.0", "taskgroup": "^5.0.1", "typechecker": "^4.3.0" }, "devDependencies": { "assert-helpers": "^4.5.1", "babel-core": "^6.26.3", "babel-preset-es2015": "^6.24.1", "coffeelint": "^2.1.0", "coffeescript": "^2.3.1", "joe": "^2.0.2", "joe-reporter-console": "^2.0.1", "projectz": "^1.4.0", "rimraf": "^2.5.4" }, "scripts": { "our:setup": "npm run our:setup:npm", "our:setup:npm": "npm install", "our:clean": "rm -Rf ./docs ./es2015 ./es5 ./out", "our:compile": "npm run our:compile:coffee:esnext && npm run our:compile:coffee:es2015", "our:compile:coffee:esnext": "coffee -bco ./esnext ./source", "our:compile:coffee:es2015": "coffee -bcto ./es2015 ./source", "our:meta": "npm run our:meta:projectz", "our:meta:projectz": "projectz compile", "our:verify": "npm run our:verify:coffeelint", "our:verify:coffeelint": "coffeelint ./source", "our:deploy": "echo no need for this project", "our:test": "npm run our:verify && npm test", "our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push", "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta", "our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)", "our:release:check-dirty": "git diff --exit-code", "our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"", "our:release:push": "git push origin master && git push origin --tags", "test": "node --harmony ./test.js --joe-reporter=console" } }