UNPKG

@erik-efl/react-scorm-provider

Version:

Modern React Components to easily enable SCORM API communication in React projects. Updated fork of the original react-scorm-provider.

95 lines (94 loc) 2.52 kB
{ "name": "@erik-efl/react-scorm-provider", "version": "1.2.14", "description": "Modern React Components to easily enable SCORM API communication in React projects. Updated fork of the original react-scorm-provider.", "main": "lib/index.js", "module": "lib/index.mjs", "types": "lib/index.d.ts", "exports": { ".": { "import": "./lib/index.mjs", "require": "./lib/index.js", "types": "./lib/index.d.ts" } }, "files": [ "lib" ], "scripts": { "dev": "concurrently \"npm run lib:watch\" \"npm run docs:dev\"", "lib": "rm -rf lib tsconfig.tsbuildinfo && NODE_ENV=production tsup", "lib:watch": "WATCH=true tsup --watch", "prepublishOnly": "npm run lib", "docs:dev": "vite --port 8000 --open", "docs:build": "vite build", "test": "jest --verbose", "clean": "rm -rf lib node_modules/.cache tsconfig.tsbuildinfo", "publish:patch": "./publish-npm.sh patch", "publish:minor": "./publish-npm.sh minor", "publish:major": "./publish-npm.sh major" }, "keywords": [ "react", "scorm", "scorm1.2", "scorm2004", "lms", "sco", "elearning", "e-learning", "wrapper", "api", "scorm-api", "hook", "scorm-provider", "useScorm" ], "license": "MIT", "jest": { "setupFilesAfterEnv": [ "<rootDir>src/tests/setupTests.js" ] }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "dependencies": { "pipwerks-scorm-api-wrapper": "^0.1.2" }, "devDependencies": { "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "^14.6.1", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@vitejs/plugin-react": "^4.3.4", "concurrently": "^8.2.0", "jest": "^29.7.0", "react": "^18.0.0", "react-dom": "^18.0.0", "ts-node": "^10.9.2", "tsup": "^7.2.0", "typescript": "^5.0.0", "vite": "^5.4.18" }, "author": { "name": "Erik Ferreira de Lima", "email": "erik.lima.f@outlook.com" }, "contributors": [ { "name": "S4 NetQuest", "url": "https://s4netquest.com" } ], "homepage": "https://github.com/Erik-EFL/react-scorm-provider#readme", "repository": { "type": "git", "url": "git@github.com:Erik-EFL/react-scorm-provider.git" }, "bugs": { "url": "https://github.com/Erik-EFL/react-scorm-provider/issues" } }