-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
103 lines (103 loc) · 4.62 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
{
"$schema": "http://json.schemastore.org/package",
"name": "@kayahr/ed-journal",
"version": "2.5.2",
"description": "Typescript library to read/watch the player journal of Frontier's game Elite Dangerous",
"keywords": [
"typescript",
"frontier",
"elite",
"dangerous",
"journal",
"schema",
"json",
"watch"
],
"license": "MIT",
"repository": "github:kayahr/ed-journal",
"publishConfig": {
"access": "public"
},
"author": {
"name": "Klaus Reimer",
"email": "[email protected]"
},
"scripts": {
"clean": "rimraf lib coverage doc/api",
"compile": "tsc",
"watch": "tsc -w",
"check": "jest",
"doc": "typedoc",
"lint": "eslint --max-warnings 0 --ext .ts src",
"cspell": "cspell --no-progress",
"prepare": "npm run clean && npm run compile && npm run schema",
"test": "npm run cspell && npm run lint && npm run check",
"schema:event": "typescript-json-schema tsconfig.json AnyJournalEvent -o lib/journal-event.schema.json --refs --noExtraProps --required",
"schema:backpack": "typescript-json-schema tsconfig.json Backpack -o lib/backpack.schema.json --refs --noExtraProps --required",
"schema:cargo": "typescript-json-schema tsconfig.json Cargo -o lib/cargo.schema.json --refs --noExtraProps --required",
"schema:fcmaterials": "typescript-json-schema tsconfig.json ExtendedFCMaterials -o lib/fcmaterials.schema.json --refs --noExtraProps --required",
"schema:market": "typescript-json-schema tsconfig.json ExtendedMarket -o lib/market.schema.json --refs --noExtraProps --required",
"schema:modulesinfo": "typescript-json-schema tsconfig.json ExtendedModuleInfo -o lib/modulesinfo.schema.json --refs --noExtraProps --required",
"schema:navroute": "typescript-json-schema tsconfig.json ExtendedNavRoute -o lib/navroute.schema.json --refs --noExtraProps --required",
"schema:outfitting": "typescript-json-schema tsconfig.json ExtendedOutfitting -o lib/outfitting.schema.json --refs --noExtraProps --required",
"schema:shiplocker": "typescript-json-schema tsconfig.json ShipLocker -o lib/shiplocker.schema.json --refs --noExtraProps --required",
"schema:shipyard": "typescript-json-schema tsconfig.json ExtendedShipyard -o lib/shipyard.schema.json --refs --noExtraProps --required",
"schema:status": "typescript-json-schema tsconfig.json Status -o lib/status.schema.json --refs --noExtraProps --required",
"schema": "npm run schema:event && npm run schema:backpack && npm run schema:cargo && npm run schema:fcmaterials && npm run schema:market && npm run schema:modulesinfo npm run schema:navroute && npm run schema:outfitting && npm run schema:shiplocker && npm run schema:shipyard && npm run schema:status",
"site": "npm run doc && rimraf site && copyfiles -V -u 2 'doc/api/**/*' site && copyfiles -V -u 1 'lib/*.schema.json' site/schemas"
},
"files": [
"lib/main/",
"lib/*.schema.json",
"src/main/"
],
"main": "./lib/main/index.js",
"types": "./lib/main/index.d.ts",
"exports": "./lib/main/index.js",
"funding": {
"url": "https://github.com/kayahr/ed-journal?sponsor=1"
},
"jest": {
"projects": [
{
"snapshotResolver": "<rootDir>/lib/test/snapshotResolver.js",
"displayName": "node",
"testEnvironment": "jest-environment-node-single-context",
"testMatch": [
"<rootDir>/lib/test/**/*.test.js"
]
}
],
"collectCoverageFrom": [
"<rootDir>/lib/main/**/*.js"
]
},
"devDependencies": {
"@kayahr/eslint-config": "2.11.0",
"@types/fs-extra": "11.0.4",
"@types/glob": "8.1.0",
"@types/jest": "29.5.12",
"@types/node": "20.12.12",
"@types/rimraf": "3.0.2",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"copyfiles": "2.4.1",
"cspell": "8.8.2",
"eslint": "^8.57.0",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-simple-import-sort": "12.1.0",
"fs-extra": "11.2.0",
"jest": "29.7.0",
"jest-environment-node-single-context": "29.4.0",
"jsonschema": "1.4.1",
"rimraf": "5.0.7",
"source-map-support": "0.5.21",
"typedoc": "0.25.13",
"typescript": "5.4.5",
"typescript-json-schema": "0.63.0"
},
"dependencies": {
"chokidar": "^3.6.0",
"tslib": "^2.6.2"
}
}