forked from Matthew-Smith/general-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
199 lines (199 loc) · 7.22 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
190
191
192
193
194
195
196
197
198
199
{
"name": "@voiceflow/general-runtime",
"description": "voiceflow general runtime",
"version": "0.1.0",
"author": "Voiceflow",
"bugs": {
"url": "https://github.com/voiceflow/general-runtime/issues"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@aws-sdk/client-lambda": "^3.507.0",
"@aws-sdk/client-s3": "^3.179.0",
"@opentelemetry/api-metrics": "0.26.0",
"@types/workerpool": "^5.0.1",
"@voiceflow/alexa-types": "2.14.56",
"@voiceflow/backend-utils": "4.8.5",
"@voiceflow/base-types": "2.107.2",
"@voiceflow/body-parser": "^1.21.1",
"@voiceflow/chat-types": "2.13.104",
"@voiceflow/common": "8.2.8",
"@voiceflow/default-prompt-wrappers": "^1.1.1",
"@voiceflow/dtos": "1.53.1",
"@voiceflow/event-ingestion-service": "1.5.1",
"@voiceflow/exception": "^1.5.1",
"@voiceflow/internal": "3.2.3",
"@voiceflow/logger": "2.2.0",
"@voiceflow/metrics": "1.4.1",
"@voiceflow/natural-language-commander": "^0.5.1",
"@voiceflow/sdk-http-ml-gateway": "2.13.31",
"@voiceflow/utils-designer": "1.9.3",
"@voiceflow/verror": "^1.1.3",
"@voiceflow/voice-types": "2.9.83",
"@voiceflow/voiceflow-types": "3.28.3",
"ajv": "6.12.3",
"axios": "^0.21.1",
"compression": "^1.7.4",
"connect-timeout": "^1.9.0",
"cookie-parser": "^1.4.6",
"core-js": "^3.4.8",
"cors": "^2.8.5",
"cuid": "^2.1.8",
"date-fns": "^2.30.0",
"dd-trace": "5.10.0",
"dedent": "^1.5.1",
"dotenv": "^8.2.0",
"express": "^4.18.3",
"express-validator": "^6.3.0",
"form-data": "3.0.0",
"helmet": "^4.6.0",
"html-parse-stringify": "3.0.1",
"immer": "10.0.4",
"ioredis": "^4.22.0",
"ip-range-check": "^0.2.0",
"isolated-vm": "^4.7.2",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.21",
"mathjs": "^10.6.1",
"mongodb": "6.5.0",
"nestjs-zod": "2.3.3",
"node-fetch": "^2.7.0",
"promise.withresolvers": "^1.0.3",
"regenerator-runtime": "^0.13.3",
"sift": "^17.1.2",
"slate": "0.72.3",
"talisman": "^1.1.3",
"ts-pattern": "^4.0.5",
"unleash-client": "5.0.0",
"validator": "^13.7.0",
"words-to-numbers": "^1.5.1",
"workerpool": "^5.0.4",
"zod": "^3.22.4"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.7",
"@types/chai-as-promised": "^7.1.2",
"@types/compression": "^1.7.2",
"@types/connect-timeout": "^0.0.35",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/dedent": "^0.7.0",
"@types/deep-equal-in-any-order": "^1.0.1",
"@types/express": "^4.17.13",
"@types/hashids": "^1.0.30",
"@types/ioredis": "^4.26.4",
"@types/json-stringify-safe": "^5.0.0",
"@types/jsonwebtoken": "^8.3.5",
"@types/lodash": "^4.14.149",
"@types/mocha": "^5.2.7",
"@types/node": "16.11.36",
"@types/node-fetch": "^2.6.2",
"@types/sinon": "^7.5.1",
"@types/supertest": "^2.0.8",
"@types/validator": "^13.7.0",
"@voiceflow/commitlint-config": "2.0.0",
"@voiceflow/eslint-config": "6.1.0",
"@voiceflow/git-branch-check": "1.4.1",
"@voiceflow/prettier-config": "1.2.1",
"@voiceflow/test-common": "^1.8.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"commitizen": "^4.2.3",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.0.2",
"deep-equal-in-any-order": "^1.0.27",
"depcheck": "1.4.7",
"eslint": "^7.32.0",
"eslint-output": "^3.0.1",
"fixpack": "^4.0.0",
"get-port": "5.1.1",
"http-status": "^1.4.2",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"mocha": "^6.2.3",
"mocha-junit-reporter": "^2.2.1",
"nyc": "^15.1.0",
"pino": "8.17.2",
"prettier": "2.8.8",
"prettier-eslint-cli": "^5.0.0",
"redoc-cli": "^0.12.3",
"sinon": "^7.5.0",
"source-map-support": "^0.5.19",
"supertest": "^4.0.2",
"ts-mocha": "^7.0.0",
"ts-node": "^10.8.0",
"ts-node-dev": "^2.0.0",
"tsc-alias": "^1.8.8",
"tsconfig-paths": "^4.0.0",
"typedoc": "^0.20.16",
"typedoc-plugin-sourcefile-url": "^1.0.6",
"typescript": "4.9.3"
},
"engines": {
"node": "20.10"
},
"homepage": "https://github.com/voiceflow/general-runtime#readme",
"keywords": [
"express",
"voiceflow",
"voiceflow-runtime"
],
"license": "ISC",
"main": "build/start.js",
"optionalDependencies": {
"@voiceflow/sdk-analytics": "^1.26.0",
"@voiceflow/sdk-auth": "^2.7.5"
},
"packageManager": "yarn@3.2.1",
"repository": {
"type": "git",
"url": "git+https://github.com/voiceflow/general-runtime.git"
},
"scripts": {
"build": "rm -rf build && tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json && cpy app.config.js yarn.lock build/",
"commit": "cz",
"connect:cli": "vfcli mesh connect general-runtime -c \"/bin/bash\"",
"dev": "ts-node-dev --files --respawn --exit-child --transpile-only -r tsconfig-paths/register --inspect --no-node-snapshot -- start.ts",
"docs:gen": "typedoc ./lib ./config.ts",
"e2e": "yarn kill:e2e && NODE_TLS_REJECT_UNAUTHORIZED=0 NODE_ENV=e2e yarn start:base",
"e2e:check-deps": "npx wait-on https://localhost:8011/health",
"e2e:check-deps-ci": "npx wait-on https://server-data-api.test.e2e:8011/health",
"eslint-output": "eslint-output",
"gen-certs:e2e": "scripts/generate_e2e_certs.sh",
"kill:e2e": "npx kill-port 8005 || true",
"lint": "eslint \"./**/*.{js,ts}\"",
"lint:dockerfiles": "hadolint --ignore DL3018 ./Dockerfile",
"lint:fix": "yarn lint --fix",
"lint:output": "yarn run eslint-output --quiet \"**/*.{js,ts}\"",
"lint:quiet": "yarn lint --quiet",
"lint:report": "yarn lint:output",
"local": "rm -f .env.local && vfcli mesh connect general-runtime",
"local:e2e": "yarn kill:e2e && NODE_TLS_REJECT_UNAUTHORIZED=0 NODE_ENV=e2e yarn dev",
"mesh:post": "exit 0",
"mesh:pre": "exit 0",
"redoc": "redoc-cli serve backend/docs/openapi.yaml --ssr --watch",
"start": "cross-env NODE_ENV=production yarn start:base",
"start:base": "node --no-node-snapshot --max-old-space-size=4096 build/start.js",
"start:local": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 IS_MESHED=true NODE_ENV=local yarn dev",
"start:meshed": "yarn start:local",
"test": "yarn test:run",
"test:dependencies": "depcheck",
"test:integration": "NODE_ENV=test nyc --report-dir=nyc_coverage_integration ts-mocha --paths --opts ./config/tests/mocha.opts 'tests/**/*.it.ts'",
"test:run": "NODE_ENV=test nyc ts-mocha --paths --opts ./config/tests/mocha.opts 'tests/**/*.{unit,it}.ts'",
"test:single": "NODE_ENV=test ts-mocha --paths --opts ./config/tests/mocha.opts",
"test:unit": "NODE_ENV=test nyc --report-dir=nyc_coverage_unit ts-mocha --paths --opts ./config/tests/mocha.opts 'tests/**/*.unit.ts'",
"test:unit:ci": "NODE_ENV=test nyc --report-dir=nyc_coverage_unit ts-mocha --paths --opts ./config/tests/mocha.opts --reporter mocha-junit-reporter --reporter-options mochaFile=reports/mocha/unit-tests.xml 'tests/**/*.unit.ts'"
},
"volta": {
"node": "20.10.0",
"yarn": "3.2.1"
}
}