This repository was archived by the owner on Aug 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.81 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.81 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
{
"name": "ndla-graphql-api",
"version": "1.0.0",
"description": "NDLA GraphQL server",
"type": "module",
"main": "build/server.mjs",
"author": "ndla@knowit.no",
"license": "GPL-3.0",
"private": true,
"scripts": {
"build": "tsc --noEmit && vite build",
"check-all": "yarn lint && yarn tsc --noEmit && yarn test",
"lint": "yarn format-check && yarn lint-es",
"lint-es": "eslint --cache --cache-location '.eslintcache/' --max-warnings=0 src",
"format-check": "oxfmt --check",
"format": "oxfmt --write",
"generate-schema-types": "graphql-codegen --config codegen.ts && oxfmt --write src/types/schema.d.ts src/schema.ts",
"start": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"tsc -w\" \"vite-node --watch src/server.ts\"",
"start-prod": "NODE_ENV=production node --enable-source-maps ./build/server.mjs",
"test": "vitest --run",
"tdd": "vitest"
},
"engines": {
"node": ">=22"
},
"dependencies": {
"@apollo/server": "^5.5.1",
"@as-integrations/express5": "^1.1.2",
"@googleapis/youtube": "^24.0.0",
"@graphql-tools/schema": "^10.0.33",
"@ndla/licenses": "^10.0.12-alpha.0",
"@opentelemetry/api": "^1.9.1",
"cheerio": "^1.2.0",
"compression": "^1.8.1",
"dataloader": "^1.4.0",
"express": "^5.2.1",
"express-prom-bundle": "^8.0.0",
"graphql": "^16.13.2",
"graphql-scalars": "^1.25.0",
"graphql-tag": "^2.12.7",
"he": "^1.2.0",
"ip-cidr": "^4.0.2",
"lodash": "^4.18.1",
"lru-cache": "^11.2.5",
"marked": "^17.0.1",
"open-graph-scraper": "^6.11.0",
"openapi-fetch": "^0.15.0",
"oxfmt": "^0.46.0",
"prismjs": "^1.30.0",
"prom-client": "^15.1.3",
"punycode": "^2.3.1",
"sanitize-html": "^2.17.0",
"winston": "^3.13.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^7.1.3",
"@graphql-codegen/schema-ast": "^6.0.1",
"@graphql-codegen/typescript-operations": "^6.0.4",
"@graphql-codegen/typescript-resolvers": "^6.0.2",
"@graphql-eslint/eslint-plugin": "^4.4.0",
"@graphql-tools/mock": "^9.1.7",
"@ndla/types-backend": "^1.0.156",
"@ndla/types-embed": "^5.0.21-alpha.0",
"@ndla/types-taxonomy": "^1.0.54",
"@types/compression": "^1.8.1",
"@types/cors": "^2.8.19",
"@types/graphql": "^14.5.0",
"@types/he": "^1.2.3",
"@types/lodash": "^4.17.24",
"@types/node": "^24.12.2",
"@types/open-graph-scraper": "^5.2.3",
"@types/prismjs": "^1.26.6",
"@types/punycode": "^2.1.4",
"@types/sanitize-html": "^2.16.1",
"concurrently": "^9.2.1",
"eslint": "^9.39.4",
"eslint-config-ndla": "^6.0.16-alpha.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0",
"vite": "^8.1.0",
"vite-node": "^6.0.0",
"vitest": "^4.1.5"
},
"packageManager": "yarn@4.9.2"
}