deploy to gcloud

This commit is contained in:
polv committed 2022-05-05 10:03:56 +07:00
1 parent 818dcbdc01
commit 3b33e7696e
3 files changed
+10 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
# Exclude compiled .js files
lib/
# Exclude dependencies
node_modules/
+1
View File
@@ -0,0 +1 @@
runtime: nodejs14
+4 -1
View File
@@ -5,8 +5,11 @@
"main": "lib/index.js", "main": "lib/index.js",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build:server": "tsc -P src/tsconfig.json", "start": "node .",
"build": "tsc -P src/tsconfig.json",
"dev": "yarn tsmon src/index.ts", "dev": "yarn tsmon src/index.ts",
"gcp-build": "yarn build",
"deploy": "gcloud app deploy",
"ts": "ts-node -r tsconfig-paths/register", "ts": "ts-node -r tsconfig-paths/register",
"tsmon": "NODE_ENV=development ts-node-dev -r tsconfig-paths/register" "tsmon": "NODE_ENV=development ts-node-dev -r tsconfig-paths/register"
}, },