-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.82 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.82 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
{
"name": "@scormflow/react",
"version": "0.0.1",
"description": "React hooks and <ScormPlayer/> component for ScormFlow. Drop-in SCORM, xAPI, and cmi5 support for any React app.",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/scormflow/scorm-engine-client.git",
"directory": "packages/react"
},
"homepage": "https://github.com/scormflow/scorm-engine-client/tree/main/packages/react#readme",
"bugs": {
"url": "https://github.com/scormflow/scorm-engine-client/issues"
},
"keywords": [
"scorm",
"scorm-1-2",
"scorm-2004",
"xapi",
"cmi5",
"elearning",
"react",
"react-hooks",
"react-component",
"scorm-player"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"engines": {
"node": ">=20"
},
"sideEffects": false,
"files": ["dist", "src", "README.md", "LICENSE"],
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean --sourcemap --external react",
"dev": "tsup src/index.ts --format esm,cjs --dts --watch --external react",
"typecheck": "tsc --noEmit",
"test": "vitest run --passWithNoTests",
"prepublishOnly": "pnpm run typecheck && pnpm run build"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@scormflow/player": "workspace:*",
"@scormflow/sdk": "workspace:*"
},
"devDependencies": {
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.3.0",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
}
}