-
Notifications
You must be signed in to change notification settings - Fork 193
/
Copy pathpackage.json
189 lines (189 loc) · 6.81 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
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
{
"name": "@atlassian/github-for-jira",
"version": "0.0.0",
"description": "GitHub integration for Atlassian Jira",
"repository": "https://github.com/atlassian/github-for-jira.git",
"engines": {
"node": ">= 18.18.1",
"yarn": "^1.22.0"
},
"main": "src/main",
"scripts": {
"prestart": "run-p setup clean db:dev",
"postinstall": "cd spa && yarn",
"clean": "rimraf coverage build tmp src/**/*.js src/**/*.js.map test/**/*.js test/**/*.js.map",
"init": "run-p db",
"start": "run-p spa:dev start:main start:worker",
"start:no-spa": "yarn prestart && run-p start:main start:worker",
"start:main": "tsnd -r tsconfig-paths/register --watch=.env*,db/config.json --inspect=0.0.0.0:9229 --respawn --transpile-only -- src/main.ts",
"start:worker": "tsnd -r tsconfig-paths/register --watch=.env*,db/config.json --inspect=0.0.0.0:9230 --respawn --transpile-only -- src/worker.ts",
"start:production": "run-p start:main:production start:worker:production",
"start:main:production": "TS_NODE_BASEURL=\"build\" node --expose-gc -r tsconfig-paths/register build/src/main",
"start:worker:production": "TS_NODE_BASEURL=\"build\" node --expose-gc -r tsconfig-paths/register build/src/worker",
"setup": "dotenv -- ts-node -r tsconfig-paths/register prestart.ts",
"build": "tsc -p ./tsconfig.json && yarn spa:build",
"build:release": "tsc -p ./tsconfig.release.json && yarn spa:build",
"build:watch": "tsc -w -p ./tsconfig.json && yarn spa:build",
"lint": "run-p lint:*",
"lint:ts": "eslint . --ext .ts,.tsx",
"lint:yaml": "yamllint github-for-jira.sd.yml",
"pretest": "NODE_ENV=test run-p clean setup db:test",
"test": "yarn spa:test && jest --forceExit --coverage --runInBand --logHeapUsage --workerIdleMemoryLimit='2GB'",
"test:watch": "jest --runInBand --watchAll --coverage=false",
"db": "run-s db:create db:migrate",
"db:create": "run-p db:create:dev db:create:test",
"db:create:dev": "dotenv -c development -- sequelize db:create || exit 0",
"db:create:test": "dotenv -c test -- sequelize db:create --env test || exit 0",
"db:create:prod": "sequelize db:create --env production-migrate || exit 0",
"db:migrate": "run-p db:migrate:dev db:migrate:test",
"db:migrate:dev": "dotenv -c development -- sequelize db:migrate",
"db:migrate:test": "dotenv -c test -- sequelize db:migrate --env test",
"db:migrate:prod": "sequelize db:migrate --env production-migrate",
"db:migrate:create": "yarn run sequelize migration:create --name",
"db:dev": "run-s db:create:dev db:migrate:dev",
"db:test": "run-s db:create:test db:migrate:test",
"prepare": "husky install",
"precommit": "run-p lint",
"test:e2e": "yarn test:e2e:install && yarn test:e2e:start",
"test:e2e:headed": "yarn test:e2e --headed",
"test:e2e:install": "playwright install",
"test:e2e:start": "NODE_ENV=e2e playwright test",
"test:e2e:start:headed": "yarn test:e2e:start --headed",
"test:e2e:debug": "PWDEBUG=1 yarn test:e2e:headed",
"test:e2e:watch": "nodemon --watch test/e2e -e ts --exec 'yarn test:e2e'",
"test:e2e:watch:headed": "nodemon --watch test/e2e -e ts --exec 'yarn test:e2e:headed'",
"spa:dev": "cd spa && yarn dev",
"spa:build": "etc/spa-build/spa-build.sh",
"spa:test": "cd spa && yarn test"
},
"dependencies": {
"@atlaskit/css-reset": "^2.0.5",
"@atlaskit/reduced-ui-pack": "^8.19.0",
"@atlassian/aui": "^9.4.0",
"@octokit/auth-app": "^2.6.0",
"@octokit/graphql-schema": "^10.73.0",
"@sentry/node": "^6.8.0",
"@types/event-loop-lag": "^1.0.30",
"@types/express-sslify": "^1.2.3",
"@types/glob": "^8.1.0",
"@types/http-proxy": "^1.17.12",
"@types/safe-json-stringify": "^1.1.2",
"@types/sanitize-html": "^2.9.0",
"@types/throng": "^5.0.5",
"@types/yaml": "^1.9.7",
"atlassian-jwt": "^2.0.0",
"aws-sdk": "^2.1015.0",
"axios": "^0.26.0",
"body-parser": "^1.19.2",
"bottleneck": "^2.19.5",
"bunyan": "^1.8.15",
"bunyan-format": "^0.2.1",
"cookie-parser": "^1.4.6",
"cookie-session": "^2.0.0",
"csurf": "^1.11.0",
"date-fns": "^1.29.0",
"dotenv": "^16.0.1",
"dotenv-expand": "^8.0.3",
"dumpme": "^1.0.3",
"event-loop-lag": "^1.4.0",
"express": "^4.17.3",
"express-async-handler": "^1.2.0",
"express-rate-limit": "^5.1.3",
"express-sslify": "^1.2.0",
"express-validator": "^6.14.0",
"hbs": "^4.1.2",
"helmet": "^3.21.2",
"hot-shots": "^8.3.2",
"http-proxy": "^1.18.1",
"http-proxy-agent": "^7.0.0",
"https-proxy-agent": "5.0.0",
"ioredis": "^4.16.3",
"is-base64": "^1.1.0",
"launchdarkly-node-server-sdk": "^6.2.0",
"lodash": "^4.17.21",
"matchstick": "^1.2.1",
"minimatch": "^5.0.1",
"moment": "^2.29.4",
"moo": "^0.5.0",
"node-oom-heapdump": "^3.0.3",
"node_extra_ca_certs_mozilla_bundle": "^1.0.5",
"optional-require": "^1.1.8",
"pg": "^8.7.3",
"primer": "^10.6.0",
"rate-limit-redis": "^1.7.0",
"safe-json-stringify": "^1.2.0",
"sanitize-html": "^2.10.0",
"sequelize": "^6.19.1",
"sequelize-cli": "^6.2.0",
"sequelize-encrypted": "^1.0.0",
"speakeasy": "^2.0.0",
"sqs-consumer": "^5.6.0",
"throng": "^5.0.0",
"ts-retry-promise": "^0.7.0",
"tsconfig-paths": "^3.14.0",
"tslib": "~2.3.1",
"typescript": "~4.5.5",
"uuid": "^8.3.2",
"xml2json-light": "^1.0.6",
"yaml": "^2.2.2"
},
"devDependencies": {
"@octokit/rest": "16.43.2",
"@octokit/webhooks-types": "^7.1.0",
"@playwright/test": "^1.33.0",
"@types/bunyan": "^1.8.6",
"@types/bunyan-format": "^0.2.4",
"@types/cache-manager": "^3.4.0",
"@types/chai": "^4.3.1",
"@types/cookie-session": "^2.0.42",
"@types/csurf": "^1.11.2",
"@types/express": "^4.17.13",
"@types/express-rate-limit": "^5.1.3",
"@types/hbs": "^4.0.1",
"@types/jest": "~27.4.0",
"@types/jest-when": "^3.5.0",
"@types/lodash": "^4.14.178",
"@types/moo": "^0.5.4",
"@types/newrelic": "^6.2.0",
"@types/node": "~14.18.16",
"@types/rate-limit-redis": "^1.7.1",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "~6.10.0",
"@typescript-eslint/parser": "~6.10.0",
"chai": "^4.3.6",
"dotenv-cli": "^6.0.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "~9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.4.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"husky": "^6.0.0",
"jest": "^29.7.0",
"jest-diff": "^29.7",
"jest-environment-jsdom": "^29.7.0",
"jest-when": "^3.5.1",
"keygrip": "^1.0.2",
"nock": "^13.2.4",
"nodemon": "^2.0.18",
"npm-run-all": "^4.1.5",
"playwright": "^1.33.0",
"prettier": "~2.5.1",
"rimraf": "~3.0.2",
"smee-client": "^1.2.2",
"sqlite3": "^5.1.5",
"supertest": "^6.2.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.5.0",
"ts-node-dev": "^2.0.0",
"yaml-lint": "^1.2.4"
},
"volta": {
"node": "18.18.1",
"yarn": "1.22.18"
}
}