-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 3.9 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
{
"name": "waltti-apc-anonymizer",
"version": "0.0.1",
"description": "Anonymize accurate APC messages and output GTFS Realtime OccupancyStatus levels",
"main": "dist/index.js",
"scripts": {
"build": "npm run build:quicktype && npm run build:src",
"build:quicktype": "npm run build:matched-apc && npm run build:profile-collection && npm run build:anonymized-apc",
"build:matched-apc": "mkdir -p ./src/quicktype && rm -f ./src/quicktype/matchedApc.ts && quicktype --out ./src/quicktype/matchedApc.ts --top-level MatchedApc --lang ts --src-lang schema --src ./quicktype/apc.schema.json --no-date-times --alphabetize-properties --telemetry disable --explicit-unions --converters all-objects && prettier --write ./src/quicktype/matchedApc.ts && export TMPFILE=\"$(mktemp)\" && echo '// @ts-nocheck' > \"${TMPFILE}\" && cat ./src/quicktype/matchedApc.ts >> \"${TMPFILE}\" && mv \"${TMPFILE}\" ./src/quicktype/matchedApc.ts",
"build:anonymized-apc": "mkdir -p ./src/quicktype && rm -f ./src/quicktype/anonymizedApc.ts && quicktype --out ./src/quicktype/anonymizedApc.ts --top-level AnonymizedApc --lang ts --src-lang schema --src ./quicktype/anonymized-apc.schema.json --no-date-times --alphabetize-properties --telemetry disable --explicit-unions --converters all-objects && prettier --write ./src/quicktype/anonymizedApc.ts && export TMPFILE=\"$(mktemp)\" && echo '// @ts-nocheck' > \"${TMPFILE}\" && cat ./src/quicktype/anonymizedApc.ts >> \"${TMPFILE}\" && mv \"${TMPFILE}\" ./src/quicktype/anonymizedApc.ts",
"build:profile-collection": "mkdir -p ./src/quicktype && rm -f ./src/quicktype/profileCollection.ts && quicktype --out ./src/quicktype/profileCollection.ts --top-level ProfileCollection --lang ts --src-lang schema --src ./quicktype/profile-collection.schema.json --no-date-times --alphabetize-properties --telemetry disable --explicit-unions --converters all-objects && prettier --write ./src/quicktype/profileCollection.ts && export TMPFILE=\"$(mktemp)\" && echo '// @ts-nocheck' > \"${TMPFILE}\" && cat ./src/quicktype/profileCollection.ts >> \"${TMPFILE}\" && mv \"${TMPFILE}\" ./src/quicktype/profileCollection.ts",
"build:src": "rm -rf dist && tsc",
"check-and-build": "npm run build:quicktype && npm run ts:check && npm run prettier:check && npm run eslint && npm run test && npm run build",
"eslint": "eslint . --max-warnings=0",
"prettier": "prettier --write .",
"prettier:check": "prettier --check .",
"start": "node dist/index.js",
"test": "jest",
"ts:check": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tvv-lippu-ja-maksujarjestelma-oy/waltti-apc-anonymizer.git"
},
"keywords": [
"apc",
"pulsar"
],
"author": "haphut <haphut@mistmap.com>",
"license": "EUPL-1.2",
"bugs": {
"url": "https://github.com/tvv-lippu-ja-maksujarjestelma-oy/waltti-apc-anonymizer/issues"
},
"homepage": "https://github.com/tvv-lippu-ja-maksujarjestelma-oy/waltti-apc-anonymizer#readme",
"devDependencies": {
"@tsconfig/strictest": "^2.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^22.10.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"quicktype": "^23.0.145",
"ts-jest": "^29.1.3",
"typescript": "^5.6.3"
},
"dependencies": {
"@stdlib/blas-ext-base-gcusumkbn2": "^0.2.0",
"csv-parse": "^5.5.6",
"pino": "^8.16.2",
"pulsar-client": "^1.10.0"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"./dist"
]
}
}