UNPKG

can-validate-legacy

Version:

Validation plugin for CanJS that provides an abstraction layer to your validation library of choice (Shim may be required).

80 lines (79 loc) 2.57 kB
{ "name": "can-validate-legacy", "version": "2.0.1", "main": "can-validate.js", "description": "Validation plugin for CanJS that provides an abstraction layer to your validation library of choice (Shim may be required).", "scripts": { "preversion": "npm test && npm run build", "version": "git commit -am \"Update dist for release\" && git checkout -b release && git add -f dist/", "postversion": "git push --tags && git checkout master && git branch -D release && git push", "testee": "testee test.html --browsers firefox", "test": "npm run detect-cycle && npm run jshint && npm run testee", "jshint": "jshint *.js map/**/*.js --config", "release:pre": "npm version prerelease && npm run build && npm publish --tag=pre", "release:patch": "npm version patch && npm run build && npm publish", "release:minor": "npm version minor && npm run build && npm publish", "release:major": "npm version major && npm run build && npm publish", "build": "node build.js", "detect-cycle": "detect-cyclic-packages --ignore done-serve" }, "repository": { "type": "git", "url": "https://github.com/canjs/can-validate-legacy.git" }, "keywords": [ "Validate", "plugin", "canjs" ], "author": { "name": "Bitovi" }, "license": "MIT", "bugs": { "url": "https://github.com/canjs/can-validate-legacy/issues" }, "homepage": "https://github.com/canjs/can-validate-legacy", "devDependencies": { "bit-docs": "0.0.7", "can-map-define": "^4.3.3", "can-stache": "^4.10.4", "detect-cyclic-packages": "^1.1.0", "jquery": "^3.1.1", "jshint": "^2.9.1", "steal": "^1.2.10", "steal-qunit": "^2.0.0", "steal-stache": "^3.0.1", "steal-tools": "^1.1.2", "testee": "^0.9.0" }, "browser": { "./can-validate": "./dist/cjs/can-validate/can-validate", "./map/validate": "./dist/cjs/can-validate/map/validate/validate", "./validations": "./dist/cjs/can-validate/validations", "./shims/validatejs.shim": "./dist/cjs/can-validate/shims/validatejs.shim" }, "steal": { "ignoreBrowser": true, "npmIgnore": [ "documentjs", "testee", "steal-tools" ], "npmDependencies": [ "steal-qunit" ], "paths": { "validate.js": "./node_modules/validate.js/validate.js" } }, "dependencies": { "can-assign": "^1.1.1", "can-compute": "^4.1.0", "can-log": "<2.0.0", "can-map": "^4.1.2", "can-namespace": "<2.0.0", "can-reflect": "^1.0.0", "validate.js": "<0.12.0" } }