-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.13 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.13 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
{
"name": "@makerx/csp-analyser",
"version": "1.2.1",
"type": "module",
"description": "Headlessly browse websites with a deny-all report-only CSP, capture violations, and generate production-ready CSP policies",
"license": "MIT",
"keywords": [
"csp",
"content-security-policy",
"security",
"mcp",
"playwright"
],
"repository": {
"type": "git",
"url": "https://github.com/MakerXStudio/CSPAnalyser.git"
},
"engines": {
"node": ">=20"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/",
"README.md",
"LICENSE"
],
"bin": {
"csp-analyser": "./dist/cli.js"
},
"scripts": {
"build": "tsc",
"audit": "better-npm-audit audit",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"prepublishOnly": "npm run typecheck && npm run test && npm run build",
"start": "node dist/mcp-server.js",
"cli": "node dist/cli.js",
"docs:dev": "vitepress dev docs",
"docs:csp": "node dist/cli.js hash-static docs/.vitepress/dist --inject --extra style-src-elem='sha256-skqujXORqzxt1aE0NNXxujEanPTX6raoqSscTV/Ww/Y='",
"predocs:build": "npm run build",
"docs:build": "vitepress build docs && npm run docs:csp",
"docs:preview": "vitepress preview docs"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.29.0",
"better-sqlite3": "12.8.0",
"playwright": "1.59.1",
"zod": "^4.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/better-sqlite3": "latest",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"@vitest/coverage-v8": "^4.1.4",
"better-npm-audit": "^3.11.0",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.2",
"typescript": "latest",
"typescript-eslint": "^8.58.1",
"vitepress": "^2.0.0-alpha.17",
"vitest": "latest"
}
}