|
14 | 14 | "tencent" |
15 | 15 | ], |
16 | 16 | "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" |
24 | 19 | }, |
25 | 20 | "author": "Dfounderliu", |
26 | 21 | "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 | | - }, |
48 | 22 | "dependencies": { |
49 | 23 | "@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", |
52 | 28 | "ext": "^1.4.0", |
53 | 29 | "type": "^2.0.0" |
54 | 30 | }, |
|
0 commit comments