-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4.22 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 4.22 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
107
108
109
110
111
112
113
114
115
116
117
{
"name": "sast-json-schema",
"version": "0.5.0",
"description": "Meta-schema for the Static Application Security Testing (SAST) of JSON Schemas",
"type": "module",
"engines": {
"node": ">=24"
},
"bin": {
"sast-json-schema": "./cli.js"
},
"exports": {
".": "./2020-12.json",
"./2020-12": "./2020-12.json",
"./2019-09": "./2019-09.json",
"./draft-07": "./draft-07.json",
"./draft-06": "./draft-06.json",
"./draft-04": "./draft-04.json",
"./$defs": "./src/$defs.json",
"./cli": "./cli.js"
},
"files": [
"draft-04.json",
"draft-06.json",
"draft-07.json",
"2019-09.json",
"2020-12.json",
"src/$defs.json",
"cli.js",
"package.json",
"SECURITY.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"prepare": "husky || true",
"git:pre-commit": "npm run git:lint-staged && npm run git:test-staged",
"git:commit-msg": "commitlint --config commitlint.config.cjs --edit",
"git:lint-staged": "npm run test:lint:staged",
"git:unit-staged": "npm run test:unit",
"git:test-staged": "npm run git:unit-staged",
"build": "node bin/build.js",
"prepublishOnly": "npm run build && npm test",
"lint": "biome check --write --no-errors-on-unmatched",
"pretest": "npm run build",
"test": "npm run test:lint && npm run test:unit && npm run test:mutation && npm run test:sast && npm run test:perf && npm run test:dast",
"test:lint": "biome ci --no-errors-on-unmatched",
"test:lint:staged": "biome check --staged --no-errors-on-unmatched",
"test:unit": "node --test --experimental-test-coverage --test-coverage-include=cli.js --test-coverage-lines=80 --test-coverage-branches=70 --test-coverage-functions=80 ./tests/*.test.js",
"test:mutation": "stryker run",
"test:perf": "node --test --test-concurrency=1 ./tests/*.perf.js",
"test:dast": "npm run test:dast:fuzz",
"test:dast:fuzz": "node --test ./tests/*.fuzz.js",
"rm": "npm run rm:macos && npm run rm:node_modules && npm run rm:lock",
"rm:macos": "find . -name '.DS_Store' -type f -delete",
"rm:lock": "find . -name 'package-lock.json' -type f -delete",
"rm:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"test:sast": "npm run test:sast:license && npm run test:sast:lockfile && npm run test:sast:semgrep && npm run test:sast:trufflehog && npm run test:sast:gitleaks && npm run test:sast:actionlint && npm run test:sast:zizmor && npm run test:sast:trivy",
"test:sast:actionlint": "actionlint",
"test:sast:gitleaks": "npm run test:sast:gitleaks:dir && npm run test:sast:gitleaks:git",
"test:sast:gitleaks:dir": "gitleaks dir . --redact --no-banner",
"test:sast:gitleaks:git": "gitleaks git . --redact --no-banner",
"test:sast:license": "license-check-and-add check -f .license.config.json",
"test:sast:lockfile": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https",
"test:sast:semgrep": "semgrep scan --config auto --error",
"test:sast:trivy": "trivy fs --scanners vuln,license --include-dev-deps --ignored-licenses 0BSD,Apache-2.0,BSD-1-Clause,BSD-2-Clause,BSD-3-Clause,CC0-1.0,CC-BY-4.0,ISC,MIT,Python-2.0,LGPL-3.0-or-later,MPL-2.0,BlueOak-1.0.0,Unlicense --exit-code 1 --skip-files '**/bun.lock' --disable-telemetry .",
"test:sast:trufflehog": "trufflehog filesystem --only-verified --log-level=-1 ./",
"test:sast:zizmor": "zizmor .github"
},
"keywords": [
"JSON",
"Schema",
"SAST",
"Secure",
"Safe",
"ASVS",
"OWASP",
"NIST"
],
"author": "willfarrell",
"repository": {
"type": "git",
"url": "github:willfarrell/sast-json-schema"
},
"bugs": {
"url": "https://github.com/willfarrell/sast-json-schema/issues"
},
"homepage": "https://github.com/willfarrell/sast-json-schema/",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/willfarrell"
},
"license": "MIT",
"workspaces": [
".github"
],
"dependencies": {
"ajv": "8.20.0",
"redos-detector": "6.1.4"
},
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@commitlint/cli": "^21.0.0",
"@commitlint/config-conventional": "^21.0.0",
"@stryker-mutator/core": "^9.0.0",
"ajv-cmd": "^0.13.0",
"fast-check": "^4.0.0",
"husky": "^9.0.0",
"json-schema-test-esm": "^3.0.0",
"license-check-and-add": "^4.0.0",
"tinybench": "^6.0.0"
},
"overrides": {
"qs": "^6.15.2"
}
}