Merge branch 'VPNBE-988-create-gateway-bugfix' into 'main'
[ProtonMail-WebClient.git] / packages / metrics / package.json
blob34407552e7adc69f01b4a4408020a89f129a0b23
2     "name": "@proton/metrics",
3     "description": "Metrics library",
4     "scripts": {
5         "check-types": "tsc",
6         "generate-metrics": "ts-node -P scripts/tsconfig.metrics-scripts.json ./scripts/generate-metrics.ts",
7         "generate-schema-types": "json2ts -i 'json-schema-registry/observability/client/web*.schema.json' -o types/ --no-additionalProperties && json2ts -i 'json-schema-registry/observability/client/drive*.schema.json' -o types/ --no-additionalProperties && json2ts -i 'json-schema-registry/observability/client/docs*.schema.json' -o types/ --no-additionalProperties",
8         "lint": "eslint . --ext ts --quiet --cache",
9         "test": "jest",
10         "test:ci": "jest --coverage --runInBand --ci",
11         "test:watch": "jest --watch",
12         "update-metrics": "rimraf json-schema-registry types && git clone $SCHEMA_REPOSITORY && yarn generate-schema-types && yarn generate-metrics"
13     },
14     "dependencies": {
15         "@proton/shared": "workspace:^",
16         "json-schema-to-typescript": "^13.1.2"
17     },
18     "devDependencies": {
19         "@proton/eslint-config-proton": "workspace:^",
20         "@types/node": "^20.17.6",
21         "eslint": "^8.57.1",
22         "jest": "^29.7.0",
23         "jest-fetch-mock": "^3.0.3",
24         "rimraf": "^5.0.10",
25         "ts-jest": "^29.2.5",
26         "ts-node": "^10.9.2",
27         "typescript": "^5.6.3"
28     }