forked from finos/git-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
214 lines (214 loc) · 7.18 KB
/
package.json
File metadata and controls
214 lines (214 loc) · 7.18 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "@finos/git-proxy",
"version": "2.0.0-rc.4",
"description": "Deploy custom push protections and policies on top of Git.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./config": {
"types": "./dist/src/config/index.d.ts",
"import": "./dist/src/config/index.js",
"require": "./dist/src/config/index.js"
},
"./db": {
"types": "./dist/src/db/index.d.ts",
"import": "./dist/src/db/index.js",
"require": "./dist/src/db/index.js"
},
"./plugin": {
"types": "./dist/src/plugin.d.ts",
"import": "./dist/src/plugin.js",
"require": "./dist/src/plugin.js"
},
"./proxy": {
"types": "./dist/src/proxy/index.d.ts",
"import": "./dist/src/proxy/index.js",
"require": "./dist/src/proxy/index.js"
},
"./proxy/actions": {
"types": "./dist/src/proxy/actions/index.d.ts",
"import": "./dist/src/proxy/actions/index.js",
"require": "./dist/src/proxy/actions/index.js"
},
"./ui": {
"types": "./dist/src/ui/index.d.ts",
"import": "./dist/src/ui/index.js",
"require": "./dist/src/ui/index.js"
}
},
"scripts": {
"cli": "tsx ./packages/git-proxy-cli/index.ts",
"cli:js": "node ./packages/git-proxy-cli/dist/index.js",
"client": "vite --config vite.config.ts",
"clientinstall": "npm install --prefix client",
"server": "ALLOWED_ORIGINS=* tsx index.ts",
"start": "concurrently \"npm run server\" \"npm run client\"",
"build": "npm run generate-config-types && npm run build-ui && npm run build-ts",
"build-ts": "tsc --project tsconfig.publish.json && node scripts/fix-shebang.js",
"build-ui": "vite build",
"check-types": "tsc",
"check-types:server": "tsc --project tsconfig.publish.json --noEmit",
"test-shuffle": "NODE_ENV=test vitest --run --dir ./test --sequence.shuffle",
"test": "cross-env NODE_ENV=test vitest --run --dir ./test",
"test:e2e": "vitest run --config vitest.config.e2e.ts",
"test:e2e:watch": "vitest --config vitest.config.e2e.ts",
"test-coverage": "cross-env NODE_ENV=test vitest --run --dir ./test --coverage",
"test-coverage-ci": "cross-env NODE_ENV=test vitest --run --dir ./test --coverage.enabled=true --coverage.reporter=lcovonly --coverage.reporter=text",
"test:integration": "NODE_ENV=test vitest --run --config vitest.config.integration.ts",
"test-watch": "cross-env NODE_ENV=test vitest --dir ./test --watch",
"prepare": "node ./scripts/prepare.js",
"lint": "eslint",
"lint:fix": "eslint --fix",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,yml,yaml,css,scss}\" --ignore-path .gitignore --config ./.prettierrc",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md,yml,yaml,css,scss}\" --ignore-path .gitignore --config ./.prettierrc",
"gen-schema-doc": "node ./scripts/doc-schema.js",
"cypress:run": "cypress run",
"cypress:open": "cypress open",
"generate-config-types": "quicktype --src-lang schema --lang typescript --out src/config/generated/config.ts --top-level GitProxyConfig config.schema.json && ts-node scripts/add-banner.ts src/config/generated/config.ts && prettier --write src/config/generated/config.ts"
},
"bin": {
"git-proxy": "./dist/index.js",
"git-proxy-all": "concurrently 'npm run server' 'npm run client'"
},
"workspaces": [
"./packages/git-proxy-cli"
],
"author": "Paul Groves",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/finos/git-proxy"
},
"dependencies": {
"@aws-sdk/credential-providers": "^3.980.0",
"@fontsource/roboto": "^5.2.9",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "4.11.3",
"@primer/octicons-react": "^19.21.2",
"@seald-io/nedb": "^4.1.2",
"axios": "^1.13.4",
"bcryptjs": "^3.0.3",
"clsx": "^2.1.1",
"concurrently": "^9.2.1",
"connect-mongo": "^5.1.0",
"cors": "^2.8.6",
"diff2html": "^3.4.56",
"env-paths": "^3.0.0",
"escape-string-regexp": "^5.0.0",
"express": "^5.2.1",
"express-http-proxy": "^2.1.2",
"express-rate-limit": "^8.2.1",
"express-session": "^1.19.0",
"font-awesome": "^4.7.0",
"history": "5.3.0",
"isomorphic-git": "^1.36.3",
"jsonwebtoken": "^9.0.3",
"load-plugin": "^6.0.3",
"lodash": "^4.17.23",
"lusca": "^1.7.0",
"material-design-icons": "^3.0.1",
"moment": "^2.30.1",
"mongodb": "^5.9.2",
"openid-client": "^6.8.1",
"parse-diff": "^0.11.1",
"passport": "^0.7.0",
"passport-activedirectory": "^1.4.0",
"passport-local": "^1.0.0",
"perfect-scrollbar": "^1.5.6",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-html-parser": "^2.0.2",
"react-router-dom": "6.30.3",
"simple-git": "^3.30.0",
"supertest": "^7.2.2",
"uuid": "^13.0.0",
"validator": "^13.15.26",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/core": "^7.28.6",
"@babel/preset-react": "^7.28.5",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/compat": "^2.0.2",
"@eslint/js": "^9.39.2",
"@eslint/json": "^0.14.0",
"@types/activedirectory2": "^1.2.6",
"@types/cors": "^2.8.19",
"@types/domutils": "^2.1.0",
"@types/express": "^5.0.6",
"@types/express-http-proxy": "^1.6.7",
"@types/express-session": "^1.18.2",
"@types/jsonwebtoken": "^9.0.10",
"@types/lodash": "^4.17.23",
"@types/lusca": "^1.7.5",
"@types/node": "^22.19.7",
"@types/passport": "^1.0.17",
"@types/passport-local": "^1.0.38",
"@types/react-dom": "^17.0.26",
"@types/react-html-parser": "^2.0.7",
"@types/supertest": "^6.0.3",
"@types/validator": "^13.15.10",
"@types/yargs": "^17.0.35",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"cypress": "^15.9.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-cypress": "^5.2.1",
"eslint-plugin-react": "^7.37.5",
"fast-check": "^4.5.3",
"globals": "^16.5.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"nyc": "^17.1.0",
"prettier": "^3.8.1",
"quicktype": "^23.2.6",
"supertest": "^7.2.2",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0",
"vite": "^7.3.1",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4"
},
"optionalDependencies": {
"@esbuild/darwin-arm64": "^0.27.2",
"@esbuild/darwin-x64": "^0.27.2",
"@esbuild/linux-x64": "0.27.2",
"@esbuild/win32-x64": "0.27.2"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=20.18.2 || >=22.13.1 || >=24.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md,yml,yaml,css,scss}": [
"prettier --write"
],
"src/**/*.{js,jsx,ts,tsx,json}": [
"eslint --fix"
],
"test/**/*.{js,jsx,ts,tsx,json}": [
"eslint --fix"
]
}
}