-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
49 lines (49 loc) · 1.49 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "express-xss-sanitizer",
"version": "2.0.0",
"description": "Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.",
"main": "index.js",
"scripts": {
"test": "./node_modules/mocha/bin/_mocha",
"test:spec": "npx mocha --reporter spec",
"format": "prettier --config .prettierrc './**/*.js' --write",
"lint": "eslint . --ext .js",
"lint:fix": "eslint . --ext .js --fix",
"prepublishOnly": "npm run lint",
"preversion": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "https://github.com/AhmedAdelFahim/express-xss-sanitizer.git"
},
"keywords": [
"express",
"koa",
"middleware",
"sanitizer",
"xss",
"security"
],
"author": "Ahmed Adel",
"license": "MIT",
"bugs": {
"url": "https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"
},
"homepage": "https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme",
"dependencies": {
"sanitize-html": "~2.13.0"
},
"devDependencies": {
"body-parser": "^1.19.0",
"chai": "^4.2.0",
"eslint": "^7.20.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"express": "^5.0.1",
"mocha": "^10.2.0",
"prettier": "^2.2.1",
"supertest": "^6.0.1"
}
}