-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "@cloudgraph/cg-provider-tencent",
"version": "1.0.0",
"description": "CloudGraph provider plugin for Tencent Cloud used to fetch Tencent Cloud data.",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"tag": "latest",
"access": "public"
},
"homepage": "https://www.cloudgraph.dev/",
"repository": "github:cloudgraphdev/cloudgraph-provider-tencent",
"bugs": "https://github.com/cloudgraphdev/cloudgraph-provider-tencent/issues",
"main": "dist/services/index.js",
"types": "dist/services/index.d.ts",
"author": "AutoCloud",
"license": "MPL-2.0",
"cloudGraph": {
"version": ">0.2"
},
"scripts": {
"build": "yarn prepack",
"generate-types": "graphql-codegen --config codegen.yml",
"prepare": "npx husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks",
"prepack": "rm -rf dist && yarn generate-types && tsc && yarn cpx 'src/**/*.graphql' dist",
"test": "NODE_ENV=test jest ./tests",
"lint": "eslint --config .eslintrc.json --ext .js,.ts ./",
"lint:fix": "eslint --fix --config .eslintrc.json --ext .js,.ts ./",
"terraform": "yarn terraform:init && yarn terraform:plan && yarn terraform:apply",
"terraform:init": "terraform -chdir=./tests/terraform init -input=false",
"terraform:plan": "terraform -chdir=./tests/terraform plan -out=tfplan -input=false",
"terraform:apply": "terraform -chdir=./tests/terraform apply -input=false tfplan",
"terraform:cleanup": "rimraf ./tests/terraform/{.terraform,.terraform.lock.hcl,tfplan} ./tests/terraform/*.{tfstate,tfplan,backup}"
},
"dependencies": {
"@cloudgraph/sdk": "^0.18.1",
"@graphql-tools/load-files": "^6.3.2",
"@graphql-tools/merge": "^8.0.1",
"@sentry/node": "^6.7.2",
"@types/long": "^4.0.2",
"chalk": "^4.1.2",
"cuid": "^2.1.8",
"dotenv": "^10.0.0",
"graphql": "^16.2.0",
"lodash": "^4.17.21",
"pino": "^6.11.3",
"tencentcloud-sdk-nodejs": "^4.0.333",
"typescript": "^4.3.5"
},
"devDependencies": {
"@autocloud/eslint-config": "^0.1.0",
"@graphql-codegen/cli": "2.4.0",
"@graphql-codegen/typescript": "2.4.2",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/gitlab": "^6.2.2",
"@semantic-release/npm": "^7.1.3",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.170",
"@types/node": "^15.12.4",
"@types/pino": "^6.3.8",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"cpx": "^1.5.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"lint-staged": "^11.1.1",
"prettier": "^2.3.2",
"semantic-release": "^17.4.4",
"shx": "^0.3.3",
"ts-jest": "^27.0.4"
},
"lint-staged": {
"*.{ts,graphql,json}": [
"yarn lint:fix",
"git add --force"
]
}
}