-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 4.25 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 4.25 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
86
87
88
89
90
91
92
93
{
"name": "fcp-dal-api",
"version": "2.15.1",
"description": "Customer Registry GraphQL Service",
"homepage": "https://github.com/DEFRA/fcp-data-access-layer-api",
"main": "app/index.js",
"type": "module",
"engines": {
"node": ">=24.15.0",
"npm": ">=11.12.1"
},
"scripts": {
"postinstall": "./scripts/post-install.sh",
"lint": "eslint . && prettier --check .",
"lint:fix": "eslint . --fix && prettier --log-level warn --write .",
"lint:test": "npm run lint && npm t",
"dev": "nodemon --ext js,gql --watch app/ -x 'node -r dotenv/config app/index.js | jq .'",
"start": "node -r dotenv/config app/index.js | jq .",
"start:debug": "nodemon --ext js,gql --watch app/ -x 'node --inspect-brk=0.0.0.0 -r dotenv/config app/index.js'",
"start:proxy": "docker run --rm --net=host --name fcp-dal-api-proxy -v $(pwd)/test/acceptance/squid.conf:/etc/squid/squid.conf ubuntu/squid",
"test:acceptance": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=test/acceptance --coverage false",
"test:acceptance:docker": "docker compose -f compose.yml -f test/acceptance/compose.yml run --rm --build --pull always --quiet-pull test && docker compose down --remove-orphans",
"test:acceptance:proxy": "docker compose -f compose.yml -f test/acceptance/compose.yml -f test/acceptance/cdp-mock-check.yml run --rm --build --pull always --quiet-pull test && docker compose down --remove-orphans",
"test:acceptance:proxy:mtls": "./test/acceptance/emulate-full-cdp.sh test",
"test:changedsince": "NODE_OPTIONS=--experimental-vm-modules DOTENV_CONFIG_PATH=./.env.test jest --runInBand --changedSince=dev --coverage --onlyChanged --setupFiles dotenv/config --detectOpenHandles",
"test:local": "NODE_OPTIONS=--experimental-vm-modules DOTENV_CONFIG_PATH=./.env.test jest --runInBand --forceExit --detectOpenHandles --setupFiles dotenv/config",
"test:local-dev-check": "NODE_OPTIONS=--experimental-vm-modules jest --coverage false test/acceptance/local-dev-check.test.js",
"test:unit": "NODE_OPTIONS=--experimental-vm-modules DOTENV_CONFIG_PATH=./.env.test jest --testPathPattern=test/unit --runInBand --coverage --forceExit --detectOpenHandles --setupFiles dotenv/config",
"test:graphql": "NODE_OPTIONS=--experimental-vm-modules DOTENV_CONFIG_PATH=./.env.test jest --testPathPattern=test/graphql --runInBand --forceExit --detectOpenHandles --setupFiles dotenv/config",
"test": "NODE_OPTIONS=--experimental-vm-modules DOTENV_CONFIG_PATH=./.env.test jest --testPathPattern='test/(unit|graphql)' --runInBand --coverage --forceExit --detectOpenHandles --setupFiles dotenv/config"
},
"author": "Defra",
"contributors": [],
"license": "OGL-UK-3.0",
"dependencies": {
"@apollo/datasource-rest": "^6.4.1",
"@apollo/server": "^5.0.0",
"@as-integrations/hapi": "^2.0.2",
"@aws-sdk/credential-providers": "^3.1030.0",
"@azure/msal-node": "^5.1.0",
"@defra/hapi-secure-context": "^0.3.0",
"@elastic/ecs-winston-format": "^1.5.3",
"@graphql-tools/load-files": "^7.0.1",
"@graphql-tools/merge": "^9.0.17",
"@graphql-tools/schema": "^10.0.16",
"@graphql-tools/utils": "^10.7.2",
"@hapi/hapi": "^21.3.12",
"apollo-datasource-mongodb": "^0.6.0",
"aws-embedded-metrics": "^4.2.0",
"convict": "^6.2.4",
"graphql": "^16.11.0",
"graphql-scalars": "^1.25.0",
"http-status-codes": "^2.3.0",
"https-proxy-agent": "^7.0.6",
"jsonwebtoken": "^9.0.2",
"jwks-rsa": "^3.1.0",
"mongodb": "^7.1.1",
"undici": "^7.28.0",
"uuid": "^14.0.0",
"winston": "^3.18.3"
},
"devDependencies": {
"@graphql-eslint/eslint-plugin": "^4.4.0",
"@jest/globals": "29.7.0",
"@shelf/jest-mongodb": "^6.0.2",
"dotenv": "^17.2.3",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"graphql-request": "^7.3.1",
"husky": "^9.1.7",
"jest": "29.7.0",
"nock": "^14.0.2",
"nodemon": "^3.1.9",
"prettier": "^3.4.2",
"winston-transport": "^4.9.0"
},
"eslintConfig": {
"extends": [
"eslint-plugin-import",
"eslint-plugin-jest"
]
},
"overrides": {
"latest-version": {
"got": "11.8.6"
},
"micromatch": "4.0.8",
"dset": "3.1.4",
"js-yaml": "^4.2.0",
"uuid": "^14.0.0"
}
}