UNPKG

weightxreps-oauth

Version:

Module to let your javascript app get user's credentials of [weightxreps.net](https://weightxreps.net/). It only focus on obtaining a valid access token, you are then responsible of adding it to your request's headers when connecting to the GraphQL endpoi

49 lines (48 loc) 1.26 kB
{ "name": "weightxreps-oauth", "version": "1.0.5", "type": "module", "author": { "name": "Bandinopla", "url": "https://github.com/bandinopla" }, "keywords": ["weightxreps","gym","fitness","powerlifting"], "scripts": { "dev": "vite", "build": "vite build && tsc --emitDeclarationOnly", "lint": "eslint .", "preview": "vite preview" }, "main": "dist/weightxreps-oauth.cjs.js", "module": "dist/weightxreps-oauth.es.js", "types": "dist/library-index.d.ts", "files": [ "dist" ], "exports": { ".": { "import": "./dist/weightxreps-oauth.es.js", "require": "./dist/weightxreps-oauth.cjs.js", "types": "./dist/library-index.d.ts" } }, "peerDependencies": { "react": "^16.8.0", "react-dom": "^16.8.0" }, "devDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1", "@eslint/js": "^9.11.1", "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.2", "eslint": "^9.11.1", "eslint-plugin-react": "^7.37.0", "eslint-plugin-react-hooks": "^5.1.0-rc.0", "eslint-plugin-react-refresh": "^0.4.12", "globals": "^15.9.0", "typescript": "^5.6.2", "vite": "^5.4.8" } }