generated from NatoBoram/gigachad.ts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 3.24 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@coderabbitai/bitbucket",
"version": "1.1.1",
"description": "CodeRabbit's TypeScript API client for connecting to Bitbucket Cloud and Bitbucket Data Center",
"keywords": [
"bitbucket-api-v1",
"bitbucket-api-v2",
"bitbucket-api",
"bitbucket-cloud",
"bitbucket-data-center",
"bitbucket-server",
"bitbucket"
],
"homepage": "https://github.com/coderabbitai/bitbucket",
"bugs": {
"url": "https://github.com/coderabbitai/bitbucket/issues"
},
"license": "Apache-2.0",
"author": {
"name": "CodeRabbit",
"url": "https://coderabbit.ai",
"email": "[email protected]"
},
"files": [
"dist",
"!dist/**/*.test.*"
],
"main": "dist/index.js",
"bin": {
"coderabbitai-bitbucket": "dist/main.js"
},
"repository": "github:coderabbitai/bitbucket",
"scripts": {
"build": "tsc",
"clean": "rm -rf dist docs node_modules tsconfig.tsbuildinfo",
"dev": "tsx ./src/main.ts",
"docs": "typedoc",
"format": "prettier --write .",
"lint": "eslint . && markdownlint-cli2 \"**/*.md\" && prettier --check .",
"lint:fix": "eslint --fix --quiet .; markdownlint-cli2 \"**/*.md\" --fix; prettier --list-different --write .",
"start": "node dist/main.js",
"test": "vitest",
"openapi-typescript": "pnpm run openapi-typescript:cloud && pnpm run openapi-typescript:server",
"preopenapi-typescript:cloud": "curl --output ./src/cloud/openapi/swagger.v3.json https://dac-static.atlassian.com/cloud/bitbucket/swagger.v3.json",
"openapi-typescript:cloud": "openapi-typescript ./src/cloud/openapi/swagger.v3.json --output ./src/cloud/openapi/openapi-typescript.ts --immutable --empty-objects-unknown --alphabetize --root-types",
"postopenapi-typescript:cloud": "ts-autofix ./src/cloud/openapi && pnpm run lint:fix",
"preopenapi-typescript:server": "curl --output ./src/server/openapi/swagger.v3.json https://dac-static.atlassian.com/server/bitbucket/9.2.swagger.v3.json",
"openapi-typescript:server": "openapi-typescript ./src/server/openapi/swagger.v3.json --output ./src/server/openapi/openapi-typescript.ts --immutable --empty-objects-unknown --alphabetize --root-types",
"postopenapi-typescript:server": "ts-autofix ./src/server/openapi && pnpm run lint:fix"
},
"dependencies": {
"openapi-fetch": "^0.13.0"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/node": "^22.9.0",
"dotenv": "^16.4.5",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.12.0",
"markdownlint-cli2": "^0.14.0",
"openapi-typescript": "^7.4.2",
"prettier": "^3.3.3",
"ts-autofix": "^1.0.0",
"tsx": "^4.19.2",
"typedoc": "^0.26.11",
"typescript": "5.7.0-beta",
"typescript-eslint": "^8.13.0",
"vitest": "^2.1.4"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./cloud": {
"types": "./dist/cloud/index.d.ts",
"default": "./dist/cloud/index.js"
},
"./cloud/openapi": {
"types": "./dist/cloud/openapi/index.d.ts",
"default": "./dist/cloud/openapi/index.js"
},
"./server": {
"types": "./dist/server/index.d.ts",
"default": "./dist/server/index.js"
},
"./server/openapi": {
"types": "./dist/server/openapi/index.d.ts",
"default": "./dist/server/openapi/index.js"
}
},
"types": "dist/index.d.ts",
"module": "dist/index.js"
}