UNPKG

commons-validator-js

Version:

JavaScript port of Apache Commons Validator

54 lines (53 loc) 1.61 kB
{ "name": "commons-validator-js", "version": "1.0.1669", "description": "JavaScript port of Apache Commons Validator", "main": "dist/index.js", "scripts": { "test": "mocha --compilers js:babel-register", "compile": "babel -d dist/ src/", "compile-library": "webpack --output-library CommonsValidator --output-library-target var dist bin/commons-validator-js.src.js", "prepublish": "npm test && npm run compile && npm run compile-library", "build": "babel bin/commons-validator-js.src.js | uglifyjs > bin/commons-validator-js.js", "release": "npx wnpm-release -- --no-shrinkwrap && npx bower-auto-release --dist bin" }, "repository": { "type": "git", "url": "https://github.com/wix/commons-validator-js.git" }, "keywords": [ "apache", "commons", "validator", "javascript" ], "author": "Wix Restaurants", "license": "Apache-2.0", "bugs": { "url": "https://github.com/wix/commons-validator-js/issues" }, "homepage": "https://github.com/wix/commons-validator-js", "devDependencies": { "babel-cli": "^6.26.0", "babel-plugin-transform-strict-mode": "^6.6.5", "babel-preset-es2015": "^6.6.0", "babel-preset-stage-2": "^6.5.0", "babel-register": "^6.8.0", "babel-runtime": "^6.6.1", "chai": "^3.5.0", "mocha": "^3.0.2", "uglify-js": "^3.0.10", "webpack": "^1.13.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "lodash.includes": "^4.3.0", "punycode": "^1.4.1" }, "types": "src/index.d.ts", "directories": { "test": "test" } }