Skip to content

Commit 433a04d

Browse files
committed
chore: add package.json
1 parent b0412f1 commit 433a04d

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

package.json

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

0 commit comments

Comments
 (0)