Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.99 KB
/
Copy pathpackage.json
File metadata and controls
51 lines (51 loc) · 1.99 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
{
"name": "@opencoachingformat/spec",
"version": "1.4.0",
"type": "module",
"description": "Open standard for team-sport coaching diagrams and animations (invasion team sports; basketball first).",
"repository": {
"type": "git",
"url": "git+https://github.com/opencoachingformat/spec.git"
},
"homepage": "https://opencoachingformat.org",
"bugs": {
"url": "https://github.com/opencoachingformat/spec/issues"
},
"license": "CC-BY-4.0",
"files": [
"schema",
"positions",
"sports",
"README.md",
"LICENSE"
],
"exports": {
"./schema/v1.json": "./schema/v1.json",
"./positions/resolve-position.mjs": "./positions/resolve-position.mjs",
"./positions/fiba-v1.json": "./positions/fiba-v1.json",
"./positions/nba-v1.json": "./positions/nba-v1.json",
"./positions/ncaa-v1.json": "./positions/ncaa-v1.json",
"./positions/nfhs-v1.json": "./positions/nfhs-v1.json",
"./sports/basketball-v1.json": "./sports/basketball-v1.json",
"./sports/soccer-v0.0.1.json": "./sports/soccer-v0.0.1.json",
"./sports/handball-v0.0.1.json": "./sports/handball-v0.0.1.json",
"./sports/hockey-v0.0.1.json": "./sports/hockey-v0.0.1.json",
"./sports/futsal-v0.0.1.json": "./sports/futsal-v0.0.1.json"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"validate": "ajv validate --spec=draft7 --strict-schema=false -s schema/v1.json -d \"examples/*.ocf.json\" --all-errors --verbose -c ajv-formats",
"test:invalid": "node scripts/check-invalid.mjs",
"test:positions": "node --test test/positions-anchors.test.mjs",
"test:sport": "node --test test/sport-branches.test.mjs",
"test:version": "node --test test/schema-version.test.mjs",
"test:manifest": "node --test test/versions-manifest.test.mjs",
"test": "npm run validate && npm run test:invalid && npm run test:positions && npm run test:sport && npm run test:version && npm run test:manifest"
},
"devDependencies": {
"ajv-cli": "^5.0.0",
"ajv-formats": "^3.0.1"
}
}