This repository was archived by the owner on Dec 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 3.3 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 3.3 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
{
"name": "dataportaal-graphql",
"license": "MPL-2.0",
"author": "Datapunt Amsterdam",
"version": "1.0.0",
"main": "src/index.ts",
"engines": {
"node": "^16"
},
"scripts": {
"build": "tsc --build",
"generate": "npm run generate-graphql-types && npm run generate-asset-types",
"generate-graphql-types": "graphql-codegen --config ./src/codegen.yml",
"generate-graphql-types-watch": "graphql-codegen --config ./src/codegen.yml --watch \"src/**/*ts\"",
"generate-asset-types": "concurrently \"npm run generate-map-legend-type\" \"npm run generate-map-group-type\" \"npm run generate-map-collection-type\" \"npm run generate-theme-type\"",
"generate-map-group-type": "quicktype ./assets/map-groups.config.json --lang ts --top-level RawMapGroup --out ./src/generated/map-group.ts --just-types --no-enums",
"generate-map-legend-type": "quicktype ./assets/map-legends.config.json --lang ts --top-level RawMapLegend --out ./src/generated/map-legend.ts --just-types --no-enums",
"generate-map-collection-type": "quicktype ./assets/map-collections.config.json --lang ts --top-level RawMapCollection --out ./src/generated/map-collection.ts --just-types --no-enums",
"generate-theme-type": "quicktype ./assets/themes.config.json --lang ts --top-level Theme --out ./src/generated/theme.ts --just-types --no-enums",
"lint": "eslint ./ --ext ts,tsx",
"postinstall": "cp .env.development .env",
"test": "jest",
"serve": "npm run build && node ./lib/",
"start": "concurrently \"nodemon --transpile-only src/index.ts\" \"npm run generate-graphql-types-watch\""
},
"dependencies": {
"@graphql-tools/schema": "^8.3.14",
"@graphql-tools/utils": "^8.6.13",
"@sentry/node": "^6.17.9",
"@sentry/types": "^6.16.1",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.12",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.18",
"@types/node-fetch": "^2.5.10",
"@types/remove-markdown": "^0.3.1",
"@types/ws": "^8.2.2",
"abort-controller": "^3.0.0",
"cors": "^2.8.5",
"dataloader": "^2.0.0",
"dotenv": "^16.0.0",
"express": "^4.17.2",
"express-graphql": "^0.12.0",
"fuse.js": "^6.5.3",
"graphql": "^16.5.0",
"graphql-playground-middleware-express": "^1.7.23",
"lru_map": "^0.4.1",
"node-fetch": "^2.6.7",
"remove-markdown": "^0.3.0",
"typescript": "^4.5.5"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/introspection": "^2.1.1",
"@graphql-codegen/typescript": "^2.5.1",
"@graphql-codegen/typescript-resolvers": "^2.6.6",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"concurrently": "^7.0.0",
"eslint": "^8.9.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "8.3.0",
"eslint-formatter-pretty": "4.1.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest-dom": "^4.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-standard": "5.0.0",
"eslint-plugin-testing-library": "^5.0.5",
"jest": "^26.6.3",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"quicktype": "^15.0.260",
"ts-jest": "^26.5.6",
"ts-node": "^10.5.0"
}
}