-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.11 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
35
36
37
{
"name": "appengine-cloudsql-postgres",
"description": "Node.js PostgreSQL sample for Cloud SQL on App Engine.",
"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": "12.x.x"
},
"scripts": {
"unit-test": "mocha test/createTables.test.js --timeout=30000 && mocha test/server.test.js",
"start-proxy": "! pgrep cloud_sql_proxy > /dev/null && cloud_sql_proxy -instances=$INSTANCE_CONNECTION_NAME=tcp:$SQL_PORT &",
"system-test": "mocha test/serverListening.test.js --exit",
"system-test-proxy": "npm run start-proxy; npm run system-test",
"all-test": "npm run unit-test && npm run system-test",
"test": "npm -- run all-test"
},
"dependencies": {
"chai": "^4.2.0",
"express": "^4.16.4",
"knex": "^0.21.0",
"pg": "^8.0.0",
"prompt": "^1.0.0",
"wait-port": "^0.2.7"
},
"devDependencies": {
"mocha": "^8.0.0",
"proxyquire": "^2.1.0",
"sinon": "^9.0.0",
"supertest": "^5.0.0"
}
}