Skip to content

Commit 3c0d128

Browse files
author
dfounderliu
committed
add multi-region
1 parent f8f4257 commit 3c0d128

File tree

2 files changed

+230
-100
lines changed

2 files changed

+230
-100
lines changed

package.json

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,41 +14,17 @@
1414
"tencent"
1515
],
1616
"scripts": {
17-
"commitlint": "commitlint -f HEAD@{15}",
18-
"test": "tape *.test.js",
19-
"lint": "eslint --ext .js,.ts,.tsx .",
20-
"lint:fix": "eslint --fix --ext .js,.ts,.tsx .",
21-
"prettier": "prettier --check **/*.{css,html,js,json,md,yaml,yml}",
22-
"prettier:fix": "prettier --write **/*.{css,html,js,json,md,yaml,yml}",
23-
"release": "standard-version"
17+
"test": "echo \"Error: no test specified\" && exit 1",
18+
"lint": "eslint . --fix --cache"
2419
},
2520
"author": "Dfounderliu",
2621
"license": "Apache-2.0",
27-
"husky": {
28-
"hooks": {
29-
"pre-commit": "lint-staged",
30-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
31-
}
32-
},
33-
"lint-staged": {
34-
"**/*.{js,ts,tsx}": [
35-
"eslint --fix --ext .js,.ts,.tsx .",
36-
"git add ."
37-
],
38-
"**/*.{css,html,js,json,md,yaml,yml}": [
39-
"npm run prettier:fix",
40-
"git add ."
41-
]
42-
},
43-
"standard-version": {
44-
"skip": {
45-
"tag": false
46-
}
47-
},
4822
"dependencies": {
4923
"@serverless/core": "^1.1.1",
50-
"@serverless/tencent-apigateway": "^2.0.4",
51-
"@serverless/tencent-scf": "^2.0.9",
24+
"@serverless/tencent-apigateway-multi-region": "^0.0.3",
25+
"@serverless/tencent-scf-multi-region": "^0.0.4",
26+
"@serverless/tencent-domain": "^0.0.2",
27+
"@serverless/tencent-cns": "^0.0.4",
5228
"ext": "^1.4.0",
5329
"type": "^2.0.0"
5430
},

0 commit comments

Comments
 (0)