UNPKG

@microsoft/teamsfx-react

Version:

React helper functions for Microsoft TeamsFx

90 lines (89 loc) 3.04 kB
{ "name": "@microsoft/teamsfx-react", "version": "4.0.2", "description": "React helper functions for Microsoft TeamsFx", "main": "build/cjs/index.js", "module": "build/esm/index.js", "types": "build/cjs/index.d.ts", "sideEffects": false, "license": "MIT", "keywords": [ "teamsfx", "react" ], "repository": "https://github.com/OfficeDev/TeamsFx", "author": "Microsoft Corporation", "files": [ "build/**/*" ], "scripts": { "build": "rimraf build && npx tsc -p tsconfig.json && npx tsc -p tsconfig.es.json", "lint:staged": "lint-staged", "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"", "test": "npm run test:unit", "test:unit": "jest --ci --reporters=jest-junit --reporters=default --coverage --coverageDirectory='coverage' --collectCoverageFrom='src/*.{ts,tsx,js}'", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", "format-check": "prettier --list-different \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", "check-sensitive": "npx eslint --plugin 'no-secrets' --cache --ignore-pattern 'package.json' --ignore-pattern 'package-lock.json'", "precommit": "npm run check-sensitive && lint-staged" }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.4", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", "@istanbuljs/nyc-config-typescript": "^1.0.2", "@testing-library/react": "^16.0.1", "@types/enzyme": "^3.10.18", "@types/jest": "^29.5.13", "@types/node": "^18.0.0", "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", "babel-jest": "^29.7.0", "eslint": "^8.6.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.30.0", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-n": "^17.10.3", "eslint-plugin-no-secrets": "^1.0.2", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-react": "^7.37.0", "eslint-plugin-react-hooks": "^4.6.2", "isomorphic-fetch": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-junit": "^16.0.0", "jwt-decode": "^4.0.0", "lint-staged": "^15.2.0", "nyc": "^17.1.0", "prettier": "^3.3.3", "rimraf": "^6.0.1", "ts-jest": "29.2.5", "tslib": "^2.7.0", "typescript": "~5.4.2" }, "peerDependencies": { "@fluentui/react-components": "^9.54.16", "@microsoft/microsoft-graph-client": "^3.0.7", "@microsoft/teams-js": "^2.31.1", "@microsoft/teamsfx": "^3.0.0-alpha", "react": ">=16.8.0 <19.0.0", "react-dom": ">=16.8.0 <19.0.0" }, "dependencies": { "@fluentui/react": "^8.120.9", "@microsoft/teamsfx": "4.0.0" }, "publishConfig": { "access": "public" }, "lint-staged": { "*.{js,jsx,css,ts,tsx}": [ "npx eslint --cache --fix --quiet" ] }, "gitHead": "30681949fa2179a7b30bf96871a4f1b688d3eaea" }