UNPKG

react-xapi-wrapper

Version:

`react-xapi-wrapper` is a library for automating the process of creating and sending xAPI statements within React environments.

68 lines (67 loc) 1.95 kB
{ "name": "react-xapi-wrapper", "version": "1.0.0", "description": "", "homepage": "https://github.com/HASKI-RAK/react-xapi-wrapper#readme", "bugs": { "url": "https://github.com/HASKI-RAK/react-xapi-wrapper/issues" }, "repository": { "type": "git", "url": "git+https://github.com/HASKI-RAK/react-xapi-wrapper.git" }, "license": "MIT", "author": "Julian Manz", "main": "dist/index.cjs.js", "type": "module", "module": "dist/index.esm.js", "types": "dist/types/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rollup -c", "watch": "rollup -c --watch", "test": "jest --coverage", "lint": "eslint . --ext .ts,.tsx --fix && prettier --write ." }, "peerDependencies": { "react": "^18.0.0" }, "devDependencies": { "@babel/preset-env": "^7.26.9", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.27.0", "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-image": "^3.0.3", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-typescript": "^12.1.2", "@testing-library/react": "13.4.0", "@types/jest": "^29.5.14", "@types/react": "18.0.0", "@typescript-eslint/eslint-plugin": "^8.30.1", "@typescript-eslint/parser": "^8.30.1", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.2", "eslint-plugin-import": "^2.31.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jiti": "^2.4.2", "prettier": "^3.5.3", "react": "18.0.0", "react-dom": "18.0.0", "rollup": "^4.34.9", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-terser": "^7.0.2", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.7.3" }, "dependencies": { "@xapi/xapi": "^3.0.1" } }