UNPKG

parameter-validator

Version:

Parameter validator makes it easy to verify that an object contains required, valid parameters.

40 lines (39 loc) 1.22 kB
{ "name": "parameter-validator", "version": "1.0.5", "description": "Parameter validator makes it easy to verify that an object contains required, valid parameters.", "keywords": [ "parameter", "validator", "validate", "verify", "assert", "object", "param", "property", "properties", "function", "required" ], "repository": "https://github.com/MyPureCloud/parameter-validator", "main": "dist/commonjs/ParameterValidator.js", "scripts": { "lint": "jshint src && jshint test", "build": "npm run lint && rm -rf dist && npm run build-commonjs && npm run build-amd", "build-commonjs": "babel src --out-dir dist/commonjs", "build-amd": "babel src --plugins babel-plugin-transform-es2015-modules-amd --presets es2015 --out-dir dist/amd", "test": "mocha --compilers js:babel-core/register" }, "author": "Nathan Hill", "license": "MIT", "devDependencies": { "babel-cli": "^6.18.0", "babel-plugin-transform-builtin-extend": "^1.1.0", "babel-plugin-transform-es2015-modules-amd": "^6.24.1", "babel-preset-es2015": "^6.24.1", "chai": "^3.5.0", "jshint": "^2.9.4", "mocha": "^3.2.0", "sinon": "^1.17.6" } }