UNPKG

1.51 kBJSONView Raw
1{
2 "name": "xss",
3 "main": "./lib/index.js",
4 "typings": "./typings/xss.d.ts",
5 "version": "1.0.4",
6 "description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist",
7 "author": "Zongmin Lei <leizongmin@gmail.com> (http://ucdok.com)",
8 "repository": {
9 "type": "git",
10 "url": "git://github.com/leizongmin/js-xss.git"
11 },
12 "engines": {
13 "node": ">= 0.10.0"
14 },
15 "dependencies": {
16 "commander": "^2.9.0",
17 "cssfilter": "0.0.10"
18 },
19 "devDependencies": {
20 "browserify": "^14.1.0",
21 "coveralls": "^3.0.0",
22 "debug": "^3.1.0",
23 "istanbul": "^0.4.3",
24 "mocha": "^4.0.1",
25 "uglify-js": "^3.0.14"
26 },
27 "files": [
28 "lib",
29 "bin/xss",
30 "dist",
31 "typings/*.d.ts"
32 ],
33 "bin": {
34 "xss": "./bin/xss"
35 },
36 "scripts": {
37 "test": "export DEBUG=xss:* && mocha -t 5000",
38 "test-cov": "export DEBUG=xss:* && istanbul cover _mocha --report lcovonly -- -t 5000 -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
39 "build": "./bin/build",
40 "prepublish": "npm run test && npm run build"
41 },
42 "license": "MIT",
43 "bugs": {
44 "url": "https://github.com/leizongmin/js-xss/issues"
45 },
46 "homepage": "https://github.com/leizongmin/js-xss",
47 "keywords": [
48 "sanitization",
49 "xss",
50 "sanitize",
51 "sanitisation",
52 "input",
53 "security",
54 "escape",
55 "encode",
56 "filter",
57 "validator",
58 "html",
59 "injection",
60 "whitelist"
61 ]
62}