Files
js-xss/package.json

66 lines
1.5 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-11-17 10:40:38 +08:00
"typings": "./typings/xss.d.ts",
2022-03-06 15:21:07 +08:00
"version": "1.0.11",
2016-05-04 11:20:42 +08:00
"description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist",
2016-10-26 12:18:23 +08:00
"author": "Zongmin Lei <leizongmin@gmail.com> (http://ucdok.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": {
2020-06-08 10:47:45 +08:00
"commander": "^2.20.3",
"cssfilter": "0.0.10"
2014-03-03 18:35:54 +08:00
},
2012-09-18 23:31:45 +08:00
"devDependencies": {
"browserify": "^17.0.0",
2020-06-08 10:47:45 +08:00
"coveralls": "^3.1.0",
2019-04-13 11:49:36 +08:00
"debug": "^4.1.1",
2022-03-09 19:39:57 +08:00
"eslint": "^8.10.0",
"mocha": "^8.3.2",
2020-06-08 14:46:12 +08:00
"nyc": "^15.1.0",
2020-06-08 10:47:45 +08:00
"uglify-js": "^3.9.4"
2015-05-06 11:09:32 +08:00
},
2016-10-12 13:28:22 +08:00
"files": [
"lib",
2016-11-16 10:59:44 +02:00
"bin/xss",
2016-11-17 10:40:38 +08:00
"dist",
"typings/*.d.ts"
2016-10-12 13:28:22 +08:00
],
2014-03-03 18:35:54 +08:00
"bin": {
"xss": "./bin/xss"
},
2012-09-18 23:31:45 +08:00
"scripts": {
2022-03-09 19:39:57 +08:00
"lint": "eslint lib/**",
2016-05-05 21:55:11 +08:00
"test": "export DEBUG=xss:* && mocha -t 5000",
2020-06-08 14:46:12 +08:00
"test-cov": "nyc --reporter=lcov mocha --exit \"test/*.js\" && nyc report",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
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
},
2016-10-26 12:18:23 +08:00
"license": "MIT",
2014-02-19 15:45:00 +08:00
"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
}