-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.1 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 1.1 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
{
"name": "cloudsql-postgres",
"description": "Node.js PostgreSQL sample for Cloud SQL.",
"version": "0.0.1",
"private": true,
"license": "Apache-2.0",
"author": "Google Inc.",
"repository": {
"type": "git",
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "node server/server.js",
"proxy": "$GITHUB_WORKSPACE/.github/workflows/utils/sql-proxy.sh",
"start-proxy": "! pgrep cloud_sql_proxy > /dev/null && cloud_sql_proxy -dir=/cloudsql -instances=$INSTANCE_CONNECTION_NAME &",
"test": "npm run proxy -- c8 mocha -p -j 2 test/*.test.js --timeout=60000 --exit"
},
"dependencies": {
"@google-cloud/cloud-sql-connector": "^1.0.0",
"@google-cloud/functions-framework": "^3.0.0",
"@google-cloud/logging-winston": "^6.0.0",
"@google-cloud/secret-manager": "^5.0.0",
"express": "^4.16.2",
"knex": "^3.0.0",
"pg": "^8.0.0",
"pug": "^3.0.0",
"winston": "^3.1.0"
},
"devDependencies": {
"c8": "^10.0.0",
"mocha": "^10.0.0",
"supertest": "^7.0.0"
}
}