forked from gitpod-io/gitpod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 5.46 KB
/
Copy pathpackage.json
File metadata and controls
144 lines (144 loc) · 5.46 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
{
"private": true,
"name": "@gitpod/server",
"version": "0.0.0",
"license": "AGPL-3.0",
"scripts": {
"start": "node ./dist/main.js",
"start-inspect": "node --inspect=0.0.0.0:9229 ./dist/main.js",
"generate": "leeway run components/spicedb:generate-ts > src/authorization/definitions.ts && npx prettier --write src/authorization/definitions.ts",
"build": "yarn generate && yarn lint && npx tsc",
"lint": "yarn eslint src/*.ts src/**/*.ts",
"lint:fix": "yarn eslint src/*.ts src/**/*.ts --fix",
"build:clean": "yarn clean && yarn build",
"rebuild": "yarn build:clean",
"build:watch": "watch 'yarn build' .",
"watch": "leeway exec --package .:app --transitive-dependencies --filter-type yarn --components --parallel -- yarn build -w --preserveWatchOutput",
"clean": "rimraf dist",
"clean:node": "rimraf node_modules",
"purge": "yarn clean && yarn clean:node && yarn run rimraf yarn.lock",
"test": "cleanup() { echo 'Cleanup started'; yarn stop-services; }; trap cleanup EXIT; . $(leeway run components/gitpod-db:db-test-env) && yarn test:unit && yarn start-services && yarn test:db",
"test:unit": "TS_NODE_FILES=true mocha --opts mocha.opts './**/*.spec.ts' --exclude './node_modules/**'",
"test:db": "TS_NODE_FILES=true mocha --opts mocha.opts './**/*.spec.db.ts' --exclude './node_modules/**'",
"start-services": "yarn start-testdb && yarn start-redis && yarn start-spicedb",
"stop-services": "yarn stop-testdb && yarn stop-redis && yarn stop-spicedb",
"start-testdb": "leeway run components/gitpod-db:init-testdb",
"stop-testdb": "docker stop test-mysql || true && docker rm test-mysql || true",
"start-spicedb": "leeway run components/spicedb:start-spicedb",
"stop-spicedb": "leeway run components/spicedb:stop-spicedb",
"start-redis": "if netstat -tuln | grep ':6379 '; then echo 'Redis is already running.'; else docker run --rm --name test-redis -p 6379:6379 -d redis; fi",
"stop-redis": "docker stop test-redis || true",
"telepresence": "telepresence --swap-deployment server --method inject-tcp --run yarn start-inspect"
},
"files": [
"/dist",
"/src"
],
"dependencies": {
"@authzed/authzed-node": "^0.10.0",
"@bufbuild/connect": "^0.8.1",
"@bufbuild/connect-express": "^0.8.1",
"@gitbeaker/node": "^35.7.0",
"@gitpod/content-service": "0.1.5",
"@gitpod/gitpod-db": "0.1.5",
"@gitpod/gitpod-messagebus": "0.1.5",
"@gitpod/gitpod-protocol": "0.1.5",
"@gitpod/ide-service-api": "0.1.5",
"@gitpod/image-builder": "0.1.5",
"@gitpod/public-api": "0.1.5",
"@gitpod/supervisor-api-grpcweb": "0.1.5",
"@gitpod/usage-api": "0.1.5",
"@gitpod/ws-manager": "0.1.5",
"@improbable-eng/grpc-web-node-http-transport": "^0.14.0",
"@jmondi/oauth2-server": "^2.6.1",
"@octokit/rest": "18.6.1",
"@probot/get-private-key": "^1.1.1",
"@types/jaeger-client": "^3.18.3",
"amqplib": "^0.8.0",
"base-64": "^1.0.0",
"bitbucket": "^2.7.0",
"body-parser": "^1.19.2",
"configcat-node": "^8.0.0",
"cookie": "^0.4.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.4",
"countries-list": "^2.6.1",
"deep-equal": "^2.0.5",
"deepmerge": "^4.2.2",
"express": "^4.17.3",
"express-http-proxy": "^1.0.7",
"fs-extra": "^10.0.0",
"google-protobuf": "^3.19.1",
"inversify": "^6.0.1",
"ioredis": "^5.3.2",
"ioredis-mock": "^8.7.0",
"js-yaml": "^3.10.0",
"json-stream": "^1.0.0",
"jsonwebtoken": "^9.0.0",
"lodash.debounce": "^4.0.8",
"longjohn": "^0.2.12",
"nice-grpc-client-middleware-retry": "^2.0.1",
"node-fetch": "^2.6.7",
"opentracing": "^0.14.4",
"p-throttle": "^5.1.0",
"passport": "^0.4.1",
"passport-dummy": "^0.0.1",
"passport-gitlab2": "5.0.0",
"passport-http": "^0.3.0",
"probot": "12.1.1",
"prom-client": "^13.2.0",
"rate-limiter-flexible": "^2.3.6",
"redlock": "^5.0.0-beta.2",
"reflect-metadata": "^0.1.10",
"stripe": "^9.0.0",
"twilio": "^5.6.0",
"uuid": "^8.3.2",
"vscode-ws-jsonrpc": "^0.2.0",
"ws": "^7.4.6"
},
"devDependencies": {
"@testdeck/mocha": "^0.3.3",
"@types/amqplib": "^0.8.2",
"@types/assert": "^1.5.6",
"@types/base-64": "^1.0.0",
"@types/body-parser": "^1.19.1",
"@types/chai": "^4.2.21",
"@types/cookie": "^0.4.1",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/deep-equal": "^1.0.1",
"@types/deep-equal-in-any-order": "^1.0.1",
"@types/express": "^4.17.13",
"@types/express-mysql-session": "^2.1.3",
"@types/fs-extra": "^9.0.12",
"@types/google-protobuf": "^3.15.5",
"@types/http-proxy": "^1.17.7",
"@types/js-yaml": "^4.0.3",
"@types/lodash.debounce": "^4.0.6",
"@types/mocha": "^2.2.45",
"@types/node": "^16.11.0",
"@types/node-fetch": "^2.6.1",
"@types/passport": "^1.0.7",
"@types/passport-oauth2": "^1.4.11",
"@types/supertest": "^2.0.12",
"@types/uuid": "^8.3.1",
"@types/ws": "^5.1.2",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"concurrently": "^6.2.1",
"deep-equal-in-any-order": "^2.0.0",
"eslint": "^7.11.0",
"expect": "^1.20.2",
"mocha": "^5.0.0",
"prettier": "^3.0.0",
"rimraf": "^3.0.2",
"source-map-loader": "^0.2.3",
"standard": "^16.0.3",
"supertest": "^6.3.3",
"ts-node": "^10.4.0",
"typescript": "~4.4.2",
"watch": "^1.0.2"
}
}