mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-07 03:48:13 +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",
|
"lint:fix": "mwts fix",
|
||||||
"ci": "npm run cov",
|
"ci": "npm run cov",
|
||||||
"build": "midway-bin build -c",
|
"build": "midway-bin build -c",
|
||||||
"check": "luckyeye"
|
"check": "luckyeye",
|
||||||
|
"deploy": "midway-bin deploy"
|
||||||
},
|
},
|
||||||
"midway-bin-clean": [
|
"midway-bin-clean": [
|
||||||
".vscode/.tsbuildinfo",
|
".vscode/.tsbuildinfo",
|
||||||
@ -63,10 +64,18 @@
|
|||||||
"midway_v2"
|
"midway_v2"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"midway-integration": {
|
||||||
|
"lifecycle": {
|
||||||
|
"before:package:cleanup": "npm run build"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"egg": {
|
||||||
|
"framework": "@midwayjs/web"
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": ""
|
"url": ""
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "cool-js.com",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user