-
-
Notifications
You must be signed in to change notification settings - Fork 396
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 4.18 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 4.18 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
{
"name": "@middy/monorepo",
"version": "7.1.5",
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda",
"private": true,
"type": "module",
"engines": {
"node": ">=22"
},
"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 && node -v && node --test ./packages/*",
"lint": "biome check --write --no-errors-on-unmatched",
"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-force-exit --experimental-test-module-mocks",
"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:trivy && npm run test:sast:ort",
"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:ort": "docker run ghcr.io/oss-review-toolkit/ort --help",
"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 --exit-code 1 --disable-telemetry .",
"test:sast:trufflehog": "trufflehog filesystem --only-verified --log-level=-1 ./",
"test:types": "tstyche",
"test:perf": "node --test ./**/*.perf.js",
"test:dast": "npm run test:dast:fuzz",
"test:dast:fuzz": "node --test --experimental-test-module-mocks ./**/*.fuzz.js",
"test:packages:unit": "node --test ./packages/**/*.test.js --test-force-exit --experimental-test-module-mocks --experimental-test-coverage --test-coverage-lines=100 --test-coverage-branches=100 --test-coverage-functions=100",
"test:packages:perf": "node --test ./packages/**/*.perf.js",
"test:packages:fuzz": "node --test ./packages/**/*.fuzz.js --experimental-test-module-mocks",
"test:llrt": "cd llrt && npm test",
"rm": "npm run rm:node_modules && npm run rm:lock",
"rm:lock": "find . -name 'package-lock.json' -type f -exec rm -f '{}' +",
"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#\\\"@middy/(.*)\\\": ([^,]*)#\\\"@middy/\\1\\\": $(npm pkg get version)#g\" {} \\; && npm run rm:node_modules && npm link --workspaces && npm install && npm run lint",
"release:tag": "git tag $npm_package_version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/middyjs/middy.git"
},
"keywords": [
"Lambda",
"Middleware",
"Serverless",
"Framework",
"AWS",
"AWS Lambda"
],
"author": {
"name": "Middy contributors",
"url": "https://github.com/middyjs/middy/graphs/contributors"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/middyjs/middy/issues"
},
"homepage": "https://middy.js.org",
"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",
"tinybench": "^6.0.0",
"tstyche": "^6.0.0",
"typescript": "^5.0.0",
"undici": "^7.0.0"
},
"overrides": {
"@sveltejs/kit": {
"cookie": "^0.7.2",
"devalue": "^5.6.4"
},
"svelte": {
"devalue": "^5.6.4"
},
"license-check-and-add": {
"minimatch": "^10.2.4"
}
},
"devEngines": {
"runtime": {
"name": "node",
"onFail": "error"
},
"packageManager": {
"name": "npm",
"onFail": "error"
}
},
"workspaces": [
"packages/*",
"websites/*",
".github"
]
}