UNPKG

@blocdigital/usescorm

Version:
84 lines (83 loc) 2.27 kB
{ "name": "@blocdigital/usescorm", "type": "module", "version": "0.2.3", "description": "React hook for communicating with the SCORM API.", "author": "Bloc Digital <web@bloc.digital>", "license": "MIT", "keywords": [ "react", "react hook", "SCORM", "SCORM2004", "SCORM1.2", "learning", "LMS", "moodle" ], "repository": { "type": "git", "url": "git+https://github.com/bloc-digital/usescorm.git" }, "homepage": "https://github.com/bloc-digital/usescorm/blob/main/README.md", "jest": { "testEnvironment": "jsdom" }, "types": "dist/types/index.d.ts", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "exports": { ".": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/cjs/index.js" } }, "./package.json": "./package.json" }, "files": [ "dist" ], "scripts": { "dev": "vite", "build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "test": "jest" }, "devDependencies": { "@babel/core": "^7.26.9", "@babel/preset-env": "^7.26.9", "@babel/preset-typescript": "^7.26.0", "@testing-library/react": "^16.2.0", "@types/jest": "^29.5.14", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "@typescript-eslint/eslint-plugin": "^8.25.0", "@typescript-eslint/parser": "^8.25.0", "@vitejs/plugin-react-swc": "^3.8.0", "babel-jest": "^29.7.0", "eslint": "^9.21.0", "eslint-config-prettier": "^10.0.2", "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.19", "globals": "^16.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^3.5.2", "typescript": "^5.7.3", "vite": "^6.2.0" }, "bugs": { "url": "https://github.com/bloc-digital/usescorm/issues" }, "peerDependencies": { "react": "^17 || ^18 || ^19", "react-dom": "^17 || ^18 || ^19" } }