-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 5.5 KB
/
Copy pathpackage.json
File metadata and controls
142 lines (142 loc) · 5.5 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "coursecode",
"version": "0.1.61",
"description": "Multi-format course authoring framework with CLI tools (SCORM 2004, SCORM 1.2, cmi5, LTI 1.3)",
"type": "module",
"bin": {
"coursecode": "bin/cli.js"
},
"files": [
"bin",
"lib",
"framework",
"!framework/dist",
"!framework/dist/**",
"schemas",
"template",
"!template/**/.gitkeep",
"README.md",
"THIRD_PARTY_NOTICES.md"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./manifest": {
"types": "./lib/manifest/manifest-factory.d.ts",
"default": "./lib/manifest/manifest-factory.js"
},
"./build-packaging": {
"types": "./lib/build-packaging.d.ts",
"default": "./lib/build-packaging.js"
},
"./stub-player": {
"types": "./lib/stub-player.d.ts",
"default": "./lib/stub-player.js"
},
"./vite-plugin-content-discovery": {
"default": "./lib/vite-plugin-content-discovery.js"
},
"./portable-html": {
"default": "./lib/portable-html.js"
}
},
"scripts": {
"dev": "VITE_COURSECODE_LOCAL=true npx vite build --config vite.framework-dev.config.js --mode development --watch",
"preview": "node lib/preview-server.js --framework-dev",
"preview:scorm12": "LMS_FORMAT=scorm1.2 node lib/preview-server.js --framework-dev",
"preview:cmi5": "LMS_FORMAT=cmi5 node lib/preview-server.js --framework-dev",
"preview:lti": "LMS_FORMAT=lti node lib/preview-server.js --framework-dev",
"lint": "eslint .",
"lint:responsive": "node scripts/check-responsive-css-ownership.mjs",
"lint:responsive:structure": "node scripts/check-responsive-structure-scoping.mjs",
"lint:fix": "eslint . --fix",
"smoke:responsive": "node scripts/responsive-visual-smoke.mjs",
"smoke:packed-create": "node scripts/smoke-packed-create.mjs",
"build": "npx vite build --config vite.framework-dev.config.js",
"build:dev": "npx vite build --config vite.framework-dev.config.js",
"build:scorm2004": "LMS_FORMAT=scorm2004 npx vite build --config vite.framework-dev.config.js",
"build:scorm12": "LMS_FORMAT=scorm1.2 npx vite build --config vite.framework-dev.config.js",
"build:cmi5": "LMS_FORMAT=cmi5 npx vite build --config vite.framework-dev.config.js",
"build:lti": "LMS_FORMAT=lti npx vite build --config vite.framework-dev.config.js",
"package": "npm run lint && npm run test:coverage && PACKAGE=true npx vite build --config vite.framework-dev.config.js",
"package:scorm2004": "npm run lint && npm run test:coverage && LMS_FORMAT=scorm2004 PACKAGE=true npx vite build --config vite.framework-dev.config.js",
"package:scorm12": "npm run lint && npm run test:coverage && LMS_FORMAT=scorm1.2 PACKAGE=true npx vite build --config vite.framework-dev.config.js",
"package:cmi5": "npm run lint && npm run test:coverage && LMS_FORMAT=cmi5 PACKAGE=true npx vite build --config vite.framework-dev.config.js",
"package:lti": "npm run lint && npm run test:coverage && LMS_FORMAT=lti PACKAGE=true npx vite build --config vite.framework-dev.config.js",
"test": "vitest run --config tests/vitest.config.js",
"test:e2e": "vitest run --config tests/vitest.e2e.config.js",
"test:drivers": "vitest run --config tests/vitest.e2e.scorm2004.config.js && vitest run --config tests/vitest.e2e.scorm12.config.js && vitest run --config tests/vitest.e2e.cmi5.config.js && vitest run --config tests/vitest.e2e.lti.config.js",
"test:all": "npm test && npm run test:e2e && npm run test:drivers",
"test:cloud": "vitest run --config tests/vitest.cloud.config.js",
"test:watch": "vitest --config tests/vitest.config.js",
"test:coverage": "vitest run --config tests/vitest.config.js --coverage",
"prerelease:check": "npm run lint && npm run lint:responsive && npm run lint:responsive:structure && npm run test:coverage && npm run build && npm run smoke:packed-create",
"prerelease:check:full": "npm run prerelease:check && npm run test:e2e && npm run test:drivers && npm run smoke:responsive -- --profile=expanded",
"prepublishOnly": "npm run prerelease:check"
},
"repository": {
"type": "git",
"url": "git+https://github.com/course-code-framework/coursecode.git"
},
"keywords": [
"coursecode",
"scorm",
"scorm-2004",
"cmi5",
"lti",
"xapi",
"elearning",
"lms",
"learning-management",
"course",
"training",
"vite",
"framework"
],
"author": "Seth Vincent",
"license": "MIT",
"bugs": {
"url": "https://github.com/course-code-framework/coursecode/issues"
},
"homepage": "https://github.com/course-code-framework/coursecode/blob/main/framework/docs/USER_GUIDE.md",
"engines": {
"node": ">=20.19.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"acorn": "^8.17.0",
"archiver": "^8.0.0",
"commander": "^14.0.3",
"lz-string": "^1.5.0",
"mammoth": "^1.12.0",
"marked": "^17.0.6",
"marked-gfm-heading-id": "^4.1.4",
"node-pptx-parser": "^1.0.1",
"pdf2json": "^4.0.3",
"pdf2md": "^1.0.2",
"puppeteer-core": "^24.43.1",
"vite-plugin-singlefile": "^2.3.3",
"win-ca": "^3.5.1",
"ws": "^8.21.0"
},
"devDependencies": {
"@vitest/coverage-v8": "^4.1.10",
"@xapi/cmi5": "^1.4.0",
"eslint": "^10.6.0",
"globals": "^17.7.0",
"pptxgenjs": "^4.0.1",
"vite": "~8.1.4",
"vite-plugin-static-copy": "^4.1.1",
"vitest": "^4.1.10"
},
"overrides": {
"uuid": "^11.1.1"
},
"pnpm": {
"overrides": {
"uuid": "^11.1.1"
}
}
}