mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-27 20:10:16 +00:00
serverless
This commit is contained in:
parent
a4ff691bfd
commit
8fe9fac4be
6
f.yml
Normal file
6
f.yml
Normal file
@ -0,0 +1,6 @@
|
||||
service: cool-admin ## 应用发布到云平台的名字,一般指应用名
|
||||
|
||||
provider:
|
||||
name: aliyun ## 发布的云平台,aliyun,tencent 等
|
||||
|
||||
deployType: egg ## 部署的应用类型
|
||||
13
package.json
13
package.json
@ -52,7 +52,8 @@
|
||||
"lint:fix": "mwts fix",
|
||||
"ci": "npm run cov",
|
||||
"build": "midway-bin build -c",
|
||||
"check": "luckyeye"
|
||||
"check": "luckyeye",
|
||||
"deploy": "midway-bin deploy"
|
||||
},
|
||||
"midway-bin-clean": [
|
||||
".vscode/.tsbuildinfo",
|
||||
@ -63,10 +64,18 @@
|
||||
"midway_v2"
|
||||
]
|
||||
},
|
||||
"midway-integration": {
|
||||
"lifecycle": {
|
||||
"before:package:cleanup": "npm run build"
|
||||
}
|
||||
},
|
||||
"egg": {
|
||||
"framework": "@midwayjs/web"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": ""
|
||||
},
|
||||
"author": "",
|
||||
"author": "cool-js.com",
|
||||
"license": "MIT"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user