-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 4.11 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 4.11 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
{
"name": "@1auth/monorepo",
"version": "0.0.0-beta.3",
"description": "",
"private": true,
"type": "module",
"engines": {
"node": ">=24"
},
"engineStrict": true,
"scripts": {
"prepare": "husky",
"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",
"git:test-staged": "which node",
"lint": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true",
"test": "npm run test:lint && npm run test:unit && npm run test:types && npm run test:sast && npm run test:perf && npm run test:dast",
"test:lint": "biome check --staged --no-errors-on-unmatched",
"test:unit": "node --test --test-concurrency 1 --experimental-test-coverage --test-coverage-lines=98 --test-coverage-branches=95 --test-coverage-functions=97 --test-coverage-exclude=**/mock.js --test-coverage-exclude=**/*.test.js --test-coverage-exclude=**/table/*",
"test:sast": "npm run test:sast:license && npm run test:sast:lockfile && npm run test:sast:trivy && npm run test:sast:semgrep && npm run test:sast:trufflehog",
"test:sast:license": "license-check-and-add check -f license.json",
"test:sast:lockfile": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https",
"test:sast:semgrep": "semgrep scan --config auto",
"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 --exit-code 1 --disable-telemetry .",
"test:sast:trufflehog": "trufflehog filesystem --only-verified --log-level=-1 ./",
"test:types": "which tstyche > /dev/null 2>&1 && tstyche || echo 'tstyche not found, skipping type tests'",
"test:perf": "node --test ./**/*.perf.js",
"test:dast": "npm run test:dast:fuzz && npm run test:dast:zap",
"test:dast:fuzz": "node --test ./**/*.fuzz.js",
"test:dast:zap": "",
"test:dynamodb:update": "docker pull amazon/dynamodb-local",
"test:dynamodb": "docker run -p 8000:8000 amazon/dynamodb-local",
"test:postgres:update": "docker pull postgres",
"test:postgres": "docker run -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres",
"rm": "npm run rm:node_modules && npm run rm:lock",
"rm:lock": "find . -name 'package-lock.json' -type f -prune -exec rm -rf '{}' +",
"rm:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"update": "npm update --workspaces && npm install --workspaces",
"outdated": "npm outdated --workspaces",
"audit": "npm audit fix --workspaces",
"release:license:add": "license-check-and-add add -f license.json",
"release:license:remove": "license-check-and-add remove -f license.json",
"release:sync": "npm version $npm_package_version --workspaces; find ./packages -name \"package.json\" -exec sed -i '' -E \"s|\\\"@1auth/(.*)\\\": ([^,]*)|\\\"@1auth/\\1\\\": $(npm pkg get version)|g\" {} \\; && npm run rm && npm install",
"release:tag": "git tag $npm_package_version && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/willfarrell/1auth.git"
},
"keywords": [
"Authentication",
"Authorization",
"OWASP",
"ASVS",
"Node.js"
],
"author": {
"name": "1auth contributors",
"url": "https://github.com/willfarrell/1auth/graphs/contributors"
},
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/willfarrell"
},
"bugs": {
"url": "https://github.com/willfarrell/1auth/issues"
},
"homepage": "https://github.com/willfarrell/1auth",
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@commitlint/cli": "^20.0.0",
"@commitlint/config-conventional": "^20.0.0",
"aws-sdk-client-mock": "^4.0.0",
"fast-check": "^4.0.0",
"husky": "^9.0.0",
"license-check-and-add": "^4.0.0",
"tinybench": "^6.0.0"
},
"overrides": {
"@sveltejs/kit": {
"cookie": "^0.7.2"
},
"fast-xml-parser": "5.5.8"
},
"devEngines": {
"runtime": {
"name": "node",
"onFail": "error"
},
"packageManager": {
"name": "npm",
"onFail": "error"
}
},
"workspaces": [
"packages/*",
"websites/*",
".github"
]
}