-
Notifications
You must be signed in to change notification settings - Fork 522
/
Copy pathpackage.json
63 lines (63 loc) · 2.18 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
{
"name": "mdn-function",
"version": "0.0.1",
"private": true,
"description": "",
"license": "MPL-2.0",
"author": "",
"type": "module",
"main": "src/index.js",
"scripts": {
"build": "tsc -b",
"build-canonicals": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node src/build-canonicals.ts",
"build-redirects": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node src/build-redirects.ts",
"copy-internal": "rm -rf ./src/internal && cp -R ../libs ./src/internal",
"gcp-build": "npm run build",
"prepare": "([ ! -e ../libs ] || npm run copy-internal)",
"proxy": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node src/proxy.ts",
"server": "npm run build && functions-framework --target=mdnHandler",
"server:watch": "nodemon --exec npm run server",
"start": "nf start"
},
"nodemonConfig": {
"ext": "json,ts",
"watch": [
".env",
"src"
]
},
"dependencies": {
"@adzerk/decision-sdk": "^1.0.0-beta.20",
"@google-cloud/functions-framework": "^3.4.2",
"@sentry/google-cloud-serverless": "^8.38.0",
"@yari-internal/constants": "file:src/internal/constants",
"@yari-internal/fundamental-redirects": "file:src/internal/fundamental-redirects",
"@yari-internal/locale-utils": "file:src/internal/locale-utils",
"@yari-internal/play": "file:src/internal/play",
"@yari-internal/pong": "file:src/internal/pong",
"@yari-internal/slug-utils": "file:src/internal/slug-utils",
"accept-language-parser": "^1.5.0",
"cookie-parser": "^1.4.7",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"http-proxy-middleware": "^3.0.3",
"sanitize-filename": "^1.6.3"
},
"devDependencies": {
"@swc/core": "^1.9.2",
"@types/accept-language-parser": "^1.5.6",
"@types/cookie-parser": "^1.4.7",
"@types/http-proxy": "^1.17.15",
"@types/http-server": "^0.12.4",
"cross-env": "^7.0.3",
"http-proxy": "^1.18.1",
"http-server": "^14.1.1",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"engines": {
"node": ">=20.0.0"
}
}