1 Star 0 Fork 5

hattori/validator.js

forked from 小弟调调/validator.js 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
小弟调调 提交于 2017-09-14 14:04 . released v1.0.8
{
"name": "validator.tool",
"version": "1.0.8",
"description": "轻量级的JavaScript表单验证,字符串验证。没有依赖,支持UMD,~3kb。",
"homepage": "http://jaywcjlove.github.io/validator.js",
"main": "dist/validator.js",
"scripts": {
"test": "karma start --single-run",
"test:watch": "karma start",
"clean": "rm -rf dist/validator*.js",
"build:min": "umd Validator src/validator.js | uglifyjs -mc | bannerjs -o > dist/validator.min.js",
"build:dist": "umd Validator src/validator.js | bannerjs -m | uglifyjs -b beautify=true --comments 'all' > dist/validator.js ",
"build": "npm run build:min && npm run build:dist",
"watch": "onchange 'src/validator.js' -v -- npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/validator.js"
},
"keywords": [
"validator",
"validator.tool",
"validator.js",
"validation",
"validate",
"sanitization",
"sanitize",
"sanitisation",
"sanitise",
"assert"
],
"author": "kenny wang <[email protected]> (http://JSLite.io)",
"license": "MIT",
"devDependencies": {
"bannerjs": "^1.0.5",
"chai": "^4.1.2",
"karma": "^1.7.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"karma-mocha": "^1.3.0",
"karma-webpack": "^2.0.4",
"mocha": "^3.5.3",
"onchange": "^3.2.1",
"uglify-js": "^3.1.0",
"umd": "^3.0.1",
"webpack": "^3.5.6"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hattori/validator.js.git
[email protected]:hattori/validator.js.git
hattori
validator.js
validator.js
master

搜索帮助