-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.64 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.64 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
{
"name": "lambda-api",
"version": "0.0.0-development",
"description": "Lightweight web framework for your serverless applications",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/cjs/index.js"
},
"./lib/*": {
"import": {
"types": "./dist/esm/lib/*.d.ts",
"default": "./dist/esm/lib/*.js"
},
"require": {
"types": "./dist/cjs/lib/*.d.ts",
"default": "./dist/cjs/lib/*.js"
},
"default": "./dist/cjs/lib/*.js"
},
"./lib/*.js": {
"import": {
"types": "./dist/esm/lib/*.d.ts",
"default": "./dist/esm/lib/*.js"
},
"require": {
"types": "./dist/cjs/lib/*.d.ts",
"default": "./dist/cjs/lib/*.js"
},
"default": "./dist/cjs/lib/*.js"
},
"./package.json": "./package.json"
},
"scripts": {
"clean": "rm -rf dist",
"build:cjs": "swc src -d dist/cjs --config-file .swcrc.cjs.json --strip-leading-paths",
"build:esm": "swc src -d dist/esm --config-file .swcrc.esm.json --copy-files --strip-leading-paths",
"build:types": "tsc -p tsconfig.types.json && cp dist/types/lib/*.d.ts dist/cjs/lib/ && cp dist/types/lib/*.d.ts dist/esm/lib/ && rm -rf dist/types",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types",
"prepare": "npm run build",
"test": "npm run build && tsd && jest unit",
"test:types": "tsd",
"test:unit": "npm run build && jest unit",
"test:compat": "npm run build && jest module-compat",
"test:prebuilt": "jest unit",
"test:e2e": "npm run build && node e2e/run-layer1.mjs",
"test:e2e:localstack": "npm run build && node e2e/localstack/run-all.mjs",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"test-cov": "npm run build && jest unit --coverage",
"test-ci": "npm run lint:check && npm run prettier:check && npm run build && jest unit --coverage && jest module-compat && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"prepublishOnly": "npm test && npm run lint:check",
"changelog": "git log $(git describe --tags --abbrev=0)..HEAD --oneline"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jeremydaly/lambda-api.git"
},
"keywords": [
"serverless",
"nodejs",
"api",
"AWS Lambda",
"API Gateway",
"web framework",
"json",
"schema",
"open"
],
"author": "Jeremy Daly <jeremy@jeremydaly.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jeremydaly/lambda-api/issues"
},
"homepage": "https://github.com/jeremydaly/lambda-api#readme",
"peerDependencies": {
"@aws-sdk/client-s3": "^3.470.0",
"@aws-sdk/s3-request-presigner": "^3.470.0"
},
"peerDependenciesMeta": {
"@aws-sdk/client-s3": {
"optional": true
},
"@aws-sdk/s3-request-presigner": {
"optional": true
}
},
"devDependencies": {
"@aws-sdk/client-s3": "3.470.0",
"@aws-sdk/s3-request-presigner": "3.470.0",
"@swc/cli": "^0.6.0",
"@swc/core": "^1.11.0",
"@types/aws-lambda": "^8.10.51",
"@types/node": "^10.17.21",
"bluebird": "^3.7.2",
"coveralls": "^3.1.0",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.3.0",
"jest": "^29.7.0",
"prettier": "^2.3.2",
"sinon": "^4.5.0",
"tsd": "^0.31.2",
"typescript": "^5.9.3"
},
"files": [
"dist/",
"index.d.ts"
]
}