-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
34 lines (34 loc) · 1.14 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
{
"name": "reserve-rec-api",
"version": "1.0.0",
"description": "Reserve Rec API System",
"dependencies": {
"@aws-sdk/util-dynamodb": "^3.540.0",
"@opensearch-project/opensearch": "^2.11.0"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.649.0",
"jest": "^29.7.0",
"luxon": "^3.4.4"
},
"scripts": {
"start": "sam local start-api -t template.yaml --env-vars env.json --warm-containers LAZY --skip-pull-image 2>&1 | tr '\r' '\n'",
"build": "sam build",
"start-full": "yarn build && yarn start",
"test": "export AWS_REGION=local-env && export TABLE_NAME=Reserve-Rec-tests && yarn build && jest --coverage"
},
"jest": {
"verbose": true,
"modulePathIgnorePatterns": [
"<rootDir>/__tests__",
"<rootDir>/tools",
"<rootDir>/.aws-sam/"
],
"moduleNameMapper": {
"^/opt/dynamodb": "<rootDir>/.aws-sam/build/AWSUtilsLayer/dynamodb",
"^/opt/base": "<rootDir>/.aws-sam/build/BaseLayer/base",
"^/opt/opensearch": "<rootDir>/.aws-sam/build/AWSUtilsLayer/opensearch",
"^/opt/data-constants": "<rootDir>/.aws-sam/build/DataUtilsLayer/data-constants"
}
}
}