Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 2.43 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "csp-forge",
"version": "1.1.2",
"description": "Scan a built static site (dist/, build/, out/) or live URL and generate a tight Content-Security-Policy with sha256 hashes or nonce + strict-dynamic for SSR. Vite/webpack plugins, reporting headers, --check for CI.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"./vite": {
"import": {
"types": "./dist/plugins/vite.d.ts",
"default": "./dist/vite.js"
},
"require": {
"types": "./dist/plugins/vite.d.ts",
"default": "./dist/vite.cjs"
}
},
"./webpack": {
"import": {
"types": "./dist/plugins/webpack.d.ts",
"default": "./dist/webpack.js"
},
"require": {
"types": "./dist/plugins/webpack.d.ts",
"default": "./dist/webpack.cjs"
}
},
"./package.json": "./package.json"
},
"bin": {
"csp-forge": "dist/cli.js"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "node scripts/build.mjs",
"test": "npm run build && node --test test/*.test.js",
"prepack": "npm run build"
},
"keywords": [
"csp",
"content-security-policy",
"security",
"security-headers",
"static-site",
"vite",
"webpack",
"nonce",
"strict-dynamic",
"nginx",
"netlify",
"vercel",
"helmet",
"sha256",
"hash",
"ci",
"cli",
"sarif",
"xss",
"report-to",
"report-uri"
],
"author": "Louis Wright <hello@louiswright.co.uk> (https://github.com/MrLouisWright)",
"license": "MIT",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/MrLouisWright"
},
{
"type": "stripe",
"url": "https://donate.stripe.com/aFa00lek3cvX4Ds2Fk9EI0b"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/MrLouisWright/csp-forge.git"
},
"bugs": {
"url": "https://github.com/MrLouisWright/csp-forge/issues"
},
"homepage": "https://mrlouiswright.github.io/csp-forge/",
"devDependencies": {
"esbuild": "^0.25.0",
"typescript": "^5.8.2"
}
}