UNPKG

iq-validator

Version:

An intelligent string validator with configurable sanitisation options.

64 lines 1.94 kB
{ "name": "iq-validator", "version": "1.0.0", "description": "An intelligent string validator with configurable sanitisation options.", "main": "./lib/IqValidator.js", "scripts": { "clean": "rimraf lib", "test": "cross-env BABEL_ENV=commonjs mocha --compilers js:babel-register --recursive", "test:watch": "npm test -- --watch", "cover": "cross-env BABEL_ENV=commonjs istanbul cover _mocha -- --compilers js:babel-register --recursive", "lint": "eslint src test", "build": "cross-env BABEL_ENV=commonjs babel src --out-dir lib", "prepublish": "npm run clean && npm run lint && npm run test && npm run build", "commit": "git-cz", "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "files": [ "lib", "src" ], "keywords": [ "node", "validator", "sanitiser" ], "author": "Gabriele gabriele.antonini@gmail.com", "license": "MIT", "bugs": { "url": "https://github.com/gabric098/iq-validator/issues" }, "homepage": "", "devDependencies": { "babel": "^6.23.0", "babel-cli": "^6.24.1", "babel-eslint": "^7.2.3", "babel-plugin-add-module-exports": "^0.2.1", "babel-preset-es2015": "^6.24.1", "babel-preset-stage-2": "^6.24.1", "chai": "^4.1.0", "commitizen": "^2.9.6", "cross-env": "^3.0.0", "cz-conventional-changelog": "^2.0.0", "eslint": "^3.6.0", "eslint-config-airbnb": "^13.0.0", "eslint-plugin-import": "^2.0.0", "eslint-plugin-jsx-a11y": "^2.2.2", "eslint-plugin-react": "^6.3.0", "istanbul": "^1.0.0-alpha", "mocha": "^3.4.2", "rimraf": "^2.6.1", "sinon": "^2.3.8", "sinon-chai": "^2.12.0", "semantic-release": "^6.3.6" }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" } }, "repository": { "type": "git", "url": "https://github.com/gabric098/iq-validator.git" } }