-
-
Notifications
You must be signed in to change notification settings - Fork 378
/
package.json
77 lines (77 loc) · 2.74 KB
/
package.json
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
{
"name": "@middy/monorepo",
"version": "6.0.0",
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda",
"private": true,
"type": "module",
"engines": {
"node": ">=20"
},
"engineStrict": true,
"scripts": {
"commit-msg": "commitlint --config commitlint.config.cjs --edit",
"pre-commit": "npm run test:lint",
"test": "npm run test:lint && npm run test:packages && npm run test:packages:benchmark",
"test:lint": "lint-staged",
"test:lint:ci": "ts-standard",
"test:unit": "cd packages/$PACKAGE && npm run test:unit",
"test:benchmark": "cd packages/$PACKAGE && npm run test:benchmark",
"test:packages": "npm run test:packages:typings && npm run test:packages:unit",
"test:packages:unit": "node --test --experimental-test-coverage ./packages/**/__tests__/*.js",
"test:packages:benchmark": "npm run test:benchmark --workspaces",
"test:packages:typings": "ls packages | xargs -I {} tsd packages/{}",
"test:llrt": "cd llrt && npm test",
"rm": "npm run rm:coverage && npm run rm:node_modules && npm run rm:lock",
"rm:coverage": "find . -name 'coverage' -type d -prune -exec rm -rf '{}' +",
"rm:lock": "find . -name 'pacakge-lock.json' -type d -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: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\" {} \\;",
"release:tag": "git tag $npm_package_version",
"release:publish": "npm publish --workspaces",
"release:publish:next": "npm publish --tag next --workspaces"
},
"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": {
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"aws-sdk-client-mock": "^4.0.0",
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"tinybench": "^3.0.0",
"ts-standard": "^12.0.0",
"tsd": "^0.31.0",
"typescript": "^5.4.3"
},
"workspaces": [
"packages/*"
],
"ts-standard": {
"ignore": [
"website/build/**/*.js"
]
}
}