Files
js-xss/package.json

77 lines
1.7 KiB
JSON
Raw Normal View History

2012-09-18 23:31:45 +08:00
{
2014-02-19 15:45:00 +08:00
"name": "xss",
"main": "./lib/index.js",
2016-04-25 18:11:36 +08:00
"version": "0.2.12",
2014-02-20 10:50:44 +08:00
"description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. 根据白名单过滤HTML(防止XSS攻击)",
2014-02-19 15:45:00 +08:00
"author": "leizongmin <leizongmin@gmail.com> (http://ucdok.com)",
"contributors": [
{
"name": "Zongmin Lei",
"email": "leizongmin@gmail.com"
}
],
2012-09-18 23:31:45 +08:00
"repository": {
"type": "git",
2014-02-19 15:45:00 +08:00
"url": "git://github.com/leizongmin/js-xss.git"
2012-09-18 23:31:45 +08:00
},
"engines": {
2015-11-18 11:00:50 +08:00
"node": ">= 0.10.0"
2012-09-18 23:31:45 +08:00
},
2014-03-03 18:35:54 +08:00
"dependencies": {
2015-11-18 10:28:37 +08:00
"commander": "^2.9.0",
"cssfilter": "0.0.7"
2014-03-03 18:35:54 +08:00
},
2012-09-18 23:31:45 +08:00
"devDependencies": {
2015-12-01 22:07:38 +08:00
"blanket": "^1.2.1",
2015-11-18 10:28:37 +08:00
"browserify": "^12.0.1",
2015-12-01 22:07:38 +08:00
"debug": "^2.2.0",
2015-11-18 10:28:37 +08:00
"mocha": "^2.3.4",
"uglify-js": "^2.6.1"
2015-05-06 11:09:32 +08:00
},
2014-03-03 18:35:54 +08:00
"bin": {
"xss": "./bin/xss"
},
2012-09-18 23:31:45 +08:00
"scripts": {
2015-12-01 22:07:38 +08:00
"coverage": "./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000 && open coverage.html",
"test": "export DEBUG=xss:* && ./node_modules/mocha/bin/mocha -t 5000",
2015-12-01 21:54:20 +08:00
"build": "./bin/build",
"prepublish": "npm run test && npm run build"
2014-02-19 15:45:00 +08:00
},
2015-12-01 22:07:38 +08:00
"config": {
"blanket": {
"pattern": [
""
],
"data-cover-never": [
"node_modules",
"test"
]
}
},
2014-02-19 15:45:00 +08:00
"licenses": [
{
"type": "MIT",
"url": "https://raw.github.com/leizongmin/js-xss/master/MIT-License"
}
],
"bugs": {
"url": "https://github.com/leizongmin/js-xss/issues"
},
"homepage": "https://github.com/leizongmin/js-xss",
"keywords": [
"sanitization",
"xss",
"sanitize",
"sanitisation",
"input",
"security",
"escape",
"encode",
"filter",
2014-02-20 10:22:51 +08:00
"validator",
"html",
2014-02-20 10:50:44 +08:00
"injection",
"whitelist"
]
2015-04-13 13:24:31 +08:00
}