@learnosity/lib-qti-converter 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +263 -0
- package/docs/DIAGNOSTICS.md +263 -0
- package/docs/EXAMPLES.md +869 -0
- package/docs/FAQ.md +415 -0
- package/docs/GETTING_STARTED.md +471 -0
- package/docs/LEARNOSITY_BUNDLE_FORMAT.md +338 -0
- package/docs/LEARNOSITY_SECTIONS.md +384 -0
- package/docs/QTI_METADATA_TO_TAGS.md +266 -0
- package/docs/QTI_STRUCTURE.md +353 -0
- package/docs/ROADMAP.md +232 -0
- package/docs/SUPPORTED_INTERACTIONS.md +601 -0
- package/docs/_sidebar.md +13 -0
- package/package.json +90 -0
- package/packages/cli/dist/main.js +45610 -0
- package/packages/core/dist/index.d.ts +2658 -0
- package/packages/core/dist/index.js +31706 -0
package/package.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@learnosity/lib-qti-converter",
|
|
3
|
+
"version": "0.10.4",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "QTI ↔ Learnosity JSON converter",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Learnosity/lib-qti-converter.git"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"qti",
|
|
13
|
+
"learnosity",
|
|
14
|
+
"converter",
|
|
15
|
+
"assessment",
|
|
16
|
+
"cli"
|
|
17
|
+
],
|
|
18
|
+
"main": "./packages/core/dist/index.js",
|
|
19
|
+
"types": "./packages/core/dist/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./packages/core/dist/index.d.ts",
|
|
23
|
+
"import": "./packages/core/dist/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"bin": {
|
|
27
|
+
"lcon": "./packages/cli/dist/main.js",
|
|
28
|
+
"lrn-converter": "./packages/cli/dist/main.js"
|
|
29
|
+
},
|
|
30
|
+
"sideEffects": false,
|
|
31
|
+
"files": [
|
|
32
|
+
"packages/cli/dist/main.js",
|
|
33
|
+
"packages/core/dist/index.js",
|
|
34
|
+
"packages/core/dist/index.d.ts",
|
|
35
|
+
"docs/*.md"
|
|
36
|
+
],
|
|
37
|
+
"workspaces": [
|
|
38
|
+
"packages/*"
|
|
39
|
+
],
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "pnpm --filter @learnosity/converter-core build && pnpm --filter @learnosity/converter-cli build",
|
|
42
|
+
"check:exports": "publint && attw --pack . --ignore-rules cjs-resolves-to-esm",
|
|
43
|
+
"clean": "rm -rf node_modules packages/*/node_modules tools/*/node_modules pnpm-lock.yaml tools/*/package-lock.json packages/*/dist packages/*/*.tsbuildinfo",
|
|
44
|
+
"coverage": "pnpm --recursive coverage",
|
|
45
|
+
"coverage:cli": "pnpm --filter @learnosity/converter-cli coverage",
|
|
46
|
+
"coverage:core": "pnpm --filter @learnosity/converter-core coverage",
|
|
47
|
+
"lcon": "node packages/cli/dist/main.js",
|
|
48
|
+
"lint": "eslint 'packages/*/src/**/*.ts' 'packages/*/test/**/*.ts' 'tools/verify-json/server.ts'",
|
|
49
|
+
"lint:fix": "eslint --fix 'packages/*/src/**/*.ts' 'packages/*/test/**/*.ts' 'tools/verify-json/server.ts'",
|
|
50
|
+
"npm:dryrun": "pnpm pack --dry-run",
|
|
51
|
+
"prepack": "pnpm build",
|
|
52
|
+
"prepublishOnly": "pnpm test",
|
|
53
|
+
"preview:items": "pnpm --filter verify-json start --",
|
|
54
|
+
"rebuild": "pnpm build && pnpm install --force",
|
|
55
|
+
"security": "trivy fs --scanners vuln .",
|
|
56
|
+
"setup:python": "python3 -m venv .venv && . .venv/bin/activate && pip install -r requirements-dev.txt",
|
|
57
|
+
"test": "pnpm test:core && pnpm test:cli || true",
|
|
58
|
+
"test:cli": "pnpm --filter @learnosity/converter-cli test",
|
|
59
|
+
"test:core": "pnpm --filter @learnosity/converter-core test",
|
|
60
|
+
"validate:learnosity": "tsx bin/validateLearnosity.ts",
|
|
61
|
+
"validate:qti": "XML_CATALOG_FILES=./schemas/catalog.xml ./.venv/bin/python ./bin/validateQti.py",
|
|
62
|
+
"validate:qti:debug": "VALIDATE_DEBUG=1 XML_CATALOG_FILES=./schemas/catalog.xml ./.venv/bin/python ./bin/validateQti.py",
|
|
63
|
+
"verify": "pnpm run build && pnpm run lint && pnpm test:cli && pnpm test:core && pnpm run check:exports"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@arethetypeswrong/cli": "^0.18.4",
|
|
67
|
+
"@types/node": "^25.9.4",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.62.1",
|
|
69
|
+
"@typescript-eslint/parser": "^8.62.1",
|
|
70
|
+
"@vitest/coverage-v8": "^4.1.9",
|
|
71
|
+
"eslint": "^10.6.0",
|
|
72
|
+
"glob": "^13.0.6",
|
|
73
|
+
"publint": "^0.3.21",
|
|
74
|
+
"tsdown": "^0.22.3",
|
|
75
|
+
"tsx": "^4.22.4",
|
|
76
|
+
"typescript": "^6.0.3",
|
|
77
|
+
"vite": "^8.1.0",
|
|
78
|
+
"vitest": "^4.1.9"
|
|
79
|
+
},
|
|
80
|
+
"engines": {
|
|
81
|
+
"node": ">=22.0.0"
|
|
82
|
+
},
|
|
83
|
+
"pnpm": {
|
|
84
|
+
"overrides": {
|
|
85
|
+
"esbuild@>=0.27.3 <0.28.1": ">=0.28.1",
|
|
86
|
+
"fflate": "0.8.2"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"packageManager": "pnpm@10.30.1"
|
|
90
|
+
}
|