-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.8 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
{
"name": "micro-aws-lambda",
"author": "Albert Gao",
"module": "dist/index.mjs",
"version": "5.5.0",
"license": "MIT",
"engines": {
"node": ">=18"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist"
],
"keywords": [
"aws",
"lambda",
"serverless",
"middleware",
"api-gateway",
"typescript"
],
"scripts": {
"start": "tsup --watch",
"build": "tsup",
"test": "jest",
"lint": "npm run typecheck",
"typecheck": "tsc --noEmit",
"release": "np --no-publish",
"coverage": "jest --coverage",
"smoke:pack": "npm run build && npm pack --dry-run",
"smoke:cjs": "npm run build && node -e \"const pkg = require('./dist/index.js'); if (!pkg.lambdas || !pkg.HttpResponse) throw new Error('CJS exports missing');\"",
"smoke:esm": "npm run build && node --input-type=module -e \"const mod = await import('./dist/index.mjs'); if (!mod.lambdas || !mod.HttpResponse) throw new Error('ESM exports missing');\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/Albert-Gao/micro-aws-lambda"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^25.9.1",
"jest": "^30.4.2",
"jest-util": "^30.4.1",
"lambda-tester": "^4.0.1",
"ts-jest": "^29.4.1",
"tslib": "^2.8.1",
"tsup": "^8.5.1",
"typescript": "^6.0.3"
},
"dependencies": {
"@types/aws-lambda": "^8.10.161"
}
}