UNPKG

@daml/hub-react

Version:

Daml React functions for Daml Hub

88 lines (87 loc) 2.17 kB
{ "name": "@daml/hub-react", "version": "1.1.5", "description": "Daml React functions for Daml Hub", "homepage": "https://hub.daml.com", "keywords": [ "daml hub", "daml", "react", "client", "API" ], "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/**/*" ], "license": "Apache-2.0", "repository": "github:digital-asset/dabl-react", "scripts": { "build": "tsc --build", "build:watch": "tsc --build --watch", "test": "jest --coverage", "format": "prettier --write .", "format-check": "prettier --check .", "lint": "eslint --ext .ts --ignore-pattern lib/ --max-warnings 0 ./" }, "dependencies": { "@mojotech/json-type-validation": "^3.1.0", "jwt-decode": "^3.1.2" }, "devDependencies": { "@testing-library/react-hooks": "^5.0.3", "@trivago/prettier-plugin-sort-imports": "^2.0.4", "@types/jest": "^29.5.0", "@types/jsonwebtoken": "^8.5.0", "@types/node": "^18.15.3", "@types/react": "^16.9.20", "@typescript-eslint/eslint-plugin": "^5.55.0", "@typescript-eslint/parser": "^5.55.0", "eslint": "^8.36.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "jest-fetch-mock": "^3.0.3", "jsonwebtoken": "^9.0.0", "prettier": "^2.8.4", "react": "^16.12.0", "react-dom": "^16.12.0", "react-test-renderer": "^16.12.0", "ts-jest": "^29.0.5", "typescript": "^5.0.2" }, "peerDependencies": { "react": "^16.12.0 || ^17.0.0", "react-dom": "^16.12.0 || ^17.0.0" }, "resolutions": { "@types/react": "^16.9.20" }, "jest": { "testEnvironment": "jsdom", "testMatch": [ "**/__tests__/**/*.+(ts|tsx|js)", "**/?(*.)+(spec|test).+(ts|tsx|js)" ], "testPathIgnorePatterns": [ "/lib/", "/tests/webpack-5-test/" ], "transform": { "^.+\\.(ts|tsx)$": "ts-jest", "^.+\\.(js|jsx)$": "babel-jest" } }, "prettier": { "printWidth": 100, "singleQuote": true, "arrowParens": "avoid", "importOrder": [ "^react.*", "^@.*", "^.*/.*/", "^.*/" ], "importOrderSeparation": true } }