-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.66 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.66 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
{
"name": "@mdn/dex",
"version": "0.0.1",
"repository": "https://github.com/mdn/dex",
"license": "MPL-2.0",
"author": "MDN Web Docs",
"type": "module",
"scripts": {
"ai-help-macros": "cross-env NODE_OPTIONS=\"--no-warnings=ExperimentalWarning --loader ts-node/esm\" node scripts/ai-help-macros.ts",
"check:tsc": "find . -name 'tsconfig.json' ! -wholename '**/node_modules/**' ! -wholename '**/cloud-function/src/internal/**' -print0 | xargs -n1 -P 2 -0 sh -c 'cd `dirname $0` && echo \"🔄 $(pwd)\" && npx tsc --noEmit && echo \"☑️ $(pwd)\" || exit 255'",
"eslint": "eslint .",
"install:all": "find . -mindepth 2 -name 'package-lock.json' ! -wholename '**/node_modules/**' -print0 | xargs -n1 -0 sh -cx 'npm --prefix $(dirname $0) install'",
"jest": "node --experimental-vm-modules --expose-gc ./node_modules/.bin/jest --logHeapUsage",
"prepare": "npm run install:all",
"prettier-check": "prettier --check .",
"prettier-format": "prettier --write .",
"test": "npm run prettier-check && npm run test:libs",
"test:libs": "npm run jest --rootDir libs --env=node",
"tool:legacy": "cross-env NODE_OPTIONS=\"--no-warnings=ExperimentalWarning --loader ts-node/esm\" node ./tool/cli.ts"
},
"resolutions": {
"lodash": ">=4.17.15"
},
"dependencies": {
"@caporal/core": "^2.0.7",
"@mdn/bcd-utils-api": "^0.0.8",
"@mdn/browser-compat-data": "^6.0.28",
"accept-language-parser": "^1.5.0",
"cheerio": "1.1.2",
"cookie": "^0.7.2",
"cross-spawn": "^7.0.6",
"dotenv": "^17.2.3",
"express": "^4.21.2",
"fdir": "^6.5.0",
"he": "^1.2.0",
"openai": "^5.18.1",
"pg": "^8.16.3",
"pgvector": "^0.2.1",
"rehype-parse": "^9.0.1",
"rehype-remark": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-stringify": "^11.0.0",
"sanitize-filename": "^1.6.3",
"unified": "^11.0.5",
"web-features": "^2.40.2"
},
"devDependencies": {
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.28.3",
"@swc/core": "^1.13.5",
"@types/express": "^4.17.21",
"@types/he": "^1.2.3",
"@types/jest": "^29.5.14",
"@types/node": "^22.16.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-n": "^17.21.0",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-plugin-wc": "^2.2.1",
"jest": "^29.7.0",
"jest-resolve": "^30.1.3",
"lefthook": "^1.12.4",
"prettier": "^3.6.2",
"prettier-plugin-packagejson": "^2.5.19",
"ts-jest": "^29.2.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0"
},
"engines": {
"node": ">=22"
}
}