-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.78 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 1.78 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "@bluedot/security-middleware",
"version": "1.0.0",
"description": "Drop-in security linting middleware for Node/Next dev and staging.",
"types": "dist/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"type": "module",
"files": [
"dist",
"overlay"
],
"scripts": {
"build": "node scripts/build.mjs",
"test": "npm run build && node --test tests/*.test.mjs",
"test:package": "node scripts/test-package.mjs",
"dev:test": "node --test --watch tests/*.test.mjs",
"prepublishOnly": "npm run build"
},
"keywords": [
"security",
"middleware",
"headers",
"cors",
"linting",
"nextjs",
"express"
],
"author": "Bluedot",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@types/express": "^5.0.3",
"@types/node": "^22.7.5",
"@types/supertest": "^6.0.3",
"express": "^5.2.1",
"supertest": "^7.0.0",
"typescript": "^5.6.3"
},
"peerDependencies": {
"express": ">=4.22.2 <6"
},
"peerDependenciesMeta": {
"express": {
"optional": true
}
},
"overrides": {
"form-data": "^4.0.6"
},
"engines": {
"node": ">=18"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/index.js"
},
"./browser": {
"types": "./dist/index.browser.d.ts",
"import": "./dist/index.browser.js",
"require": "./dist/cjs/index.browser.js",
"default": "./dist/index.browser.js"
},
"./node": {
"types": "./dist/index.node.d.ts",
"import": "./dist/index.node.js",
"require": "./dist/cjs/index.node.js",
"default": "./dist/index.node.js"
},
"./overlay": "./overlay/security-overlay.js"
}
}