Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.68 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
{
"name": "@opencoachingformat/renderer",
"version": "0.4.0",
"description": "Reference renderer for the Open Coaching Format — draws OCF documents as top-down court diagrams (three.js).",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/opencoachingformat/ocf-renderer.git"
},
"homepage": "https://opencoachingformat.org",
"bugs": {
"url": "https://github.com/opencoachingformat/ocf-renderer/issues"
},
"license": "CC-BY-4.0",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./browser": "./dist/browser/index.js"
},
"scripts": {
"generate:types": "node scripts/generate-ocf-types.mjs",
"prebuild": "npm run generate:types",
"build": "tsup src/index.ts --format esm,cjs --dts",
"build:browser": "tsup --config tsup.browser.config.ts",
"prepublishOnly": "npm run build && npm run build:browser",
"pretest": "npm run generate:types",
"test": "vitest run",
"test:watch": "vitest",
"test:visual": "playwright test",
"test:browser": "node scripts/verify-browser-bundle.mjs"
},
"dependencies": {
"three": "^0.185.1"
},
"devDependencies": {
"@opencoachingformat/spec": "^1.4.0",
"@playwright/test": "^1.61.1",
"@types/node": "^26.1.1",
"@types/three": "^0.185.1",
"jsdom": "^29.1.1",
"json-schema-to-typescript": "^15.0.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.10"
},
"overrides": {
"esbuild": "^0.28.2"
}
}