generated from GoogleCloudPlatform/cloud-run-microservice-template-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
36 lines (36 loc) · 1.22 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
{
"name": "cloud-run-microservice-template",
"version": "1.0.0",
"description": "Microservice template for Cloud Run",
"main": "index.js",
"engines": {
"node": "16"
},
"scripts": {
"start": "node index.js",
"dev": "NODE_ENV=development nodemon index.js | pino-pretty",
"lint": "eslint --ext *.js --ext test/*.js",
"fix": "eslint --fix --ext *.js --ext test/*.js",
"build": "gcloud builds submit --pack image=us-central1-docker.pkg.dev/$GOOGLE_CLOUD_PROJECT/samples/microservice-template:manual",
"deploy": "gcloud run deploy microservice-template --image us-central1-docker.pkg.dev/$GOOGLE_CLOUD_PROJECT/samples/microservice-template:manual --platform managed --region us-central1",
"test": "mocha test/app.test.js --check-leaks",
"system-test": "mocha test/system.test.js --timeout=180000"
},
"author": "Google LLC",
"license": "Apache-2.0",
"dependencies": {
"express": "^4.17.1",
"gcp-metadata": "^5.0.0",
"google-auth-library": "^8.0.0",
"pino": "^8.0.0",
"pino-http": "^8.0.0"
},
"devDependencies": {
"eslint": "^8.0.0",
"eslint-config-google": "^0.14.0",
"got": "^11.8.2",
"mocha": "^10.0.0",
"nodemon": "^2.0.7",
"supertest": "^6.1.3"
}
}