deploy to gcloud
This commit is contained in:
1 parent
818dcbdc01
commit
3b33e7696e
3 files changed
+10
-1
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
# Exclude compiled .js files
|
||||||
|
lib/
|
||||||
|
|
||||||
|
# Exclude dependencies
|
||||||
|
node_modules/
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
runtime: nodejs14
|
||||||
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user