Skip to content

Commit 09ffb67

Browse files
committed
chore: update Lambda package.json files for build scripts
1 parent 5ed3e57 commit 09ffb67

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

typescript/postgres-lambda/lambda/lambda-to-postgres/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.0.0",
44
"description": "Lambda function that connects to PostgreSQL",
55
"main": "index.js",
6+
"scripts": {
7+
"build": "cd $(pwd) && npm install --no-package-lock"
8+
},
69
"dependencies": {
710
"pg": "^8.11.0"
811
}

typescript/postgres-lambda/lambda/postgres-to-lambda/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
"version": "1.0.0",
44
"description": "Lambda function called by PostgreSQL",
55
"main": "index.js",
6-
"scripts": {
7-
"build": "echo 'No build needed for JavaScript files'",
8-
"test": "echo \"Error: no test specified\" && exit 1"
9-
},
106
"dependencies": {
117
"aws-sdk": "^2.1377.0"
128
}

0 commit comments

Comments
 (0)