package.json 2.0 KB
{
  "name": "validator",
  "description": "String validation and sanitization",
  "version": "6.3.0",
  "homepage": "http://github.com/chriso/validator.js",
  "files": [
    "index.js",
    "lib",
    "README.md",
    "LICENCE",
    "validator.js",
    "validator.min.js"
  ],
  "keywords": [
    "validator",
    "validation",
    "validate",
    "sanitization",
    "sanitize",
    "sanitisation",
    "sanitise",
    "assert"
  ],
  "author": "Chris O'Hara <cohara87@gmail.com>",
  "main": "index.js",
  "bugs": {
    "url": "http://github.com/chriso/validator.js/issues"
  },
  "repository": {
    "type": "git",
    "url": "http://github.com/chriso/validator.js.git"
  },
  "devDependencies": {
    "babel-cli": "^6.16.0",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-preset-es2015": "^6.16.0",
    "babel-preset-es2015-rollup": "^1.2.0",
    "coveralls": "^2.11.9",
    "eslint": "^3.8.1",
    "eslint-config-airbnb-base": "^9.0.0",
    "eslint-plugin-import": "^2.0.1",
    "istanbul": "^0.4.3",
    "mocha": "^3.1.2",
    "rollup": "^0.29.1",
    "rollup-plugin-babel": "^2.5.1",
    "uglify-js": "^2.6.2"
  },
  "scripts": {
    "lint": "eslint src test",
    "clean:node": "rm -rf index.js lib",
    "clean:browser": "rm -rf validator*.js",
    "clean": "npm run clean:node && npm run clean:browser",
    "minify": "uglifyjs validator.js -o validator.min.js  --compress --mangle --comments '/Copyright/'",
    "build:browser": "babel-node build-browser && npm run minify",
    "build:node": "babel src -d . --presets es2015 --plugins add-module-exports",
    "build": "npm run build:browser && npm run build:node",
    "pretest": "npm run lint && npm run build",
    "test": "mocha --reporter spec",
    "coveralls": "istanbul cover _mocha --report lcovonly -x validator.js -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
  },
  "engines": {
    "node": ">= 0.10"
  },
  "license": "MIT",
  "_from": "validator@6.3.0",
  "_resolved": "http://registry.npm.taobao.org/validator/download/validator-6.3.0.tgz"
}