forked from opencrvs/opencrvs-countryconfig
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
147 lines (147 loc) · 4.78 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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@opencrvs/countryconfig",
"version": "1.6.0",
"description": "OpenCRVS country configuration for reference data",
"os": [
"darwin",
"linux"
],
"engines": {
"node": "18.x.x"
},
"license": "MPL-2.0",
"husky": {
"hooks": {
"pre-commit": "yarn precommit"
}
},
"scripts": {
"dev": "yarn start",
"e2e": "NODE_OPTIONS=--dns-result-order=ipv4first yarn playwright test --ui",
"e2e-dev": "NODE_ENV=development NODE_OPTIONS=--dns-result-order=ipv4first yarn playwright test --ui",
"e2e:generate-types": "graphql-codegen --config e2e/codegen.yml && yarn prettier --write e2e/gateway.ts",
"precommit": "lint-staged",
"test": "vitest 'src/**/*.test.ts' --passWithNoTests",
"test:compilation": "tsc --noEmit",
"lint": "eslint -c .eslintrc.js",
"start": "cross-env NODE_ENV=development NODE_OPTIONS=--dns-result-order=ipv4first nodemon --exec ts-node -r tsconfig-paths/register src/index.ts",
"start:prod": "ts-node --transpile-only -r tsconfig-paths/register src/index.ts",
"data-generator": "ts-node -r tsconfig-paths/register -T src/data-generator/index.ts",
"data-generator:generate-types": "graphql-codegen --config codegen.yml && yarn prettier --write src/data-generator/gateway.ts",
"deploy": "bash infrastructure/deployment/deploy.sh",
"restore-snapshot": "bash infrastructure/backups/restore-snapshot.sh",
"snapshot": "bash infrastructure/backups/backup.sh",
"port-forward": "bash infrastructure/port-forward.sh",
"environment:init": "ts-node infrastructure/environments/setup-environment.ts",
"sort-translations": "cross-env NODE_ENV=development ts-node -r tsconfig-paths/register src/sort-translations.ts"
},
"devDependencies": {
"@graphql-codegen/add": "^3.1.1",
"@graphql-codegen/cli": "^3.3.1",
"@graphql-codegen/introspection": "^3.0.1",
"@graphql-codegen/typescript": "^3.0.4",
"@graphql-codegen/typescript-operations": "^3.0.4",
"@inquirer/editor": "^1.2.13",
"@octokit/core": "4.2.4",
"@playwright/test": "^1.48.0",
"@types/google-libphonenumber": "^7.4.23",
"@types/handlebars": "^4.1.0",
"@types/hapi__h2o2": "8.3.3",
"@types/hapi__inert": "5.2.1",
"@types/inquirer": "^9.0.7",
"@types/libsodium-wrappers": "^0.7.10",
"@types/minimist": "^1.2.5",
"@types/prompts": "^2.4.9",
"@types/react-intl": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "1.0.0-rc.13",
"inquirer": "^9.2.12",
"js-yaml": "^4.1.0",
"kleur": "^4.1.5",
"libsodium-wrappers": "^0.7.13",
"lint-staged": "^7.1.0",
"node-ssh": "^13.2.0",
"nodemon": "^2.0.22",
"pino-pretty": "^11.0.0",
"prettier": "^2.8.8",
"react-intl": "^6.4.3",
"vitest": "^2.1.2"
},
"dependencies": {
"@faker-js/faker": "^9.3.0",
"@hapi/boom": "^9.1.1",
"@hapi/h2o2": "^9.1.0",
"@hapi/hapi": "^20.0.1",
"@hapi/inert": "^6.0.3",
"@opencrvs/toolkit": "0.0.6-events",
"@types/chalk": "^2.2.0",
"@types/code": "^4.0.3",
"@types/csv2json": "^1.4.0",
"@types/fhir": "0.0.30",
"@types/geojson": "^7946.0.4",
"@types/hapi__boom": "^9.0.1",
"@types/hapi__hapi": "^20.0.0",
"@types/jest": "^24.0.13",
"@types/jwt-decode": "^2.2.1",
"@types/lodash": "^4.14.117",
"@types/node": "^10.12.5",
"@types/node-fetch": "^2.6.2",
"@types/nodemailer": "^6.4.14",
"@types/uuid": "^10.0.0",
"app-module-path": "^2.2.0",
"chalk": "^2.4.1",
"country-data": "^0.0.31",
"cross-env": "^6.0.3",
"csv-stringify": "^6.4.6",
"csv2json": "^1.4.2",
"date-fns": "^2.28.0",
"dotenv": "^16.4.5",
"envalid": "^8.0.0",
"esbuild": "^0.18.9",
"google-libphonenumber": "^3.2.32",
"graphql": "^16.3.0",
"graphql-tag": "^2.12.6",
"handlebars": "^4.7.7",
"hapi-auth-jwt2": "10.4.0",
"hapi-pino": "^9.0.0",
"hapi-sentry": "^3.1.0",
"joi": "^17.4.0",
"jwt-decode": "^2.2.0",
"lodash": "^4.17.21",
"minimist": "^1.2.8",
"node-fetch": "^2.6.1",
"nodemailer": "^6.9.8",
"opener": "^1.5.1",
"p-queue": "^6.6.2",
"pino": "^7.0.0",
"prompts": "^2.4.2",
"regex-to-strings": "^2.1.0",
"short-uid": "^0.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.8.0",
"typescript": "^5.1.6",
"uuid": "^3.3.2",
"whatwg-fetch": "^3.0.0",
"yargs": "^17.7.2",
"zod": "^3.17.3"
},
"lint-staged": {
"{src,e2e}/**/*.{ts,graphql}": [
"eslint --fix",
"prettier --write",
"git add"
],
"src/translations/*.csv": [
"yarn sort-translations",
"git add"
]
},
"resolutions": {
"minimist": "^1.2.2",
"acorn": "^6.4.1"
}
}