oceanprotocol/react

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@oceanprotocol/react",
  "version": "0.6.2",
  "description": "React hooks & components on top of @oceanprotocol/lib",
  "main": "dist/index.js",
  "umd:main": "dist/index.umd.js",
  "module": "dist/index.esm.js",
  "esmodule": "dist/index.modern.js",
  "types": "dist/index.d.ts",
  "scripts": {
    "start": "microbundle watch --no-compress --jsx React.createElement",
    "start-example": "cd example && npm start",
    "build": "rm -rf dist && microbundle build --no-compress --jsx React.createElement",
    "test": "npm run lint && npm run type-check",
    "lint": "eslint --ignore-path .eslintignore --ext .js --ext .ts --ext .tsx .",
    "format": "prettier --ignore-path .gitignore './**/*.{css,yml,js,ts,tsx,json}' --write",
    "release": "release-it --non-interactive",
    "changelog": "auto-changelog -p",
    "prepublishOnly": "npm run build",
    "type-check": "tsc --noEmit"
  },
  "files": [
    "LICENSE",
    "README.md",
    "dist/"
  ],
  "dependencies": {
    "@oceanprotocol/lib": "^0.15.0",
    "axios": "^0.21.1",
    "decimal.js": "^10.2.1",
    "web3": "^1.3.6",
    "web3modal": "^1.9.3"
  },
  "devDependencies": {
    "@types/node-fetch": "^2.5.7",
    "@types/react": "^17.0.0",
    "@typescript-eslint/eslint-plugin": "^4.25.0",
    "@typescript-eslint/parser": "^4.25.0",
    "auto-changelog": "^2.3.0",
    "eslint": "^7.27.0",
    "eslint-config-oceanprotocol": "^1.5.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^3.4.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "microbundle": "^0.13.0",
    "prettier": "^2.3.0",
    "release-it": "^14.7.0",
    "serialize-javascript": "^5.0.1",
    "typescript": "^4.2.4"
  },
  "peerDependencies": {
    "react": ">=16.8.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/oceanprotocol/react.git"
  },
  "author": "",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/oceanprotocol/react/issues"
  },
  "homepage": "https://github.com/oceanprotocol/react#readme",
  "release-it": {
    "hooks": {
      "after:bump": "npm run changelog"
    },
    "plugins": {},
    "git": {
      "tagName": "v${version}"
    },
    "github": {
      "release": true
    },
    "npm": {
      "publish": false
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "directories": {
    "example": "example"
  }
}