UNPKG

@delucis/if-env

Version:

Run an npm script if an environment variable matches a pattern

47 lines (46 loc) 1.01 kB
{ "name": "@delucis/if-env", "version": "1.1.2", "description": "Run an npm script if an environment variable matches a pattern", "license": "GPL-3.0-only", "repository": "delucis/if-env", "bugs": { "url": "https://github.com/delucis/if-env/issues" }, "homepage": "https://github.com/delucis/if-env#readme", "author": { "name": "Chris Swithinbank", "email": "swithinbank@gmail.com", "url": "http://chrisswithinbank.net/" }, "publishConfig": { "access": "public" }, "files": [ "bin/*" ], "bin": { "if-env": "bin/if-env.js", "if-env-cs": "bin/if-env-cs.js" }, "scripts": { "test": "NODE_ENV=test nyc mocha --reporter spec", "coverage": "nyc report --reporter=text-lcov | coveralls" }, "keywords": [ "npm", "script", "env", "if", "run" ], "devDependencies": { "coveralls": "^3.0.4", "expect": "24.8.0", "mocha": "6.1.4", "nyc": "^14.1.1" }, "dependencies": { "matcher": "^1.1.1" } }