UNPKG

@grafana/faro-react

Version:

Faro package that enables easier integration in projects built with React.

87 lines (86 loc) 2.84 kB
{ "name": "@grafana/faro-react", "version": "1.17.2", "description": "Faro package that enables easier integration in projects built with React.", "engines": { "node": ">=18.0.0" }, "keywords": [ "observability", "apm", "rum", "logs", "traces", "metrics", "react", "react router", "react profiler" ], "license": "Apache-2.0", "author": "Grafana Labs", "homepage": "https://github.com/grafana/faro-web-sdk", "repository": { "type": "git", "url": "https://github.com/grafana/faro-web-sdk.git", "directory": "packages/react" }, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "files": [ ".browserslistrc", "dist", "README.md", "LICENSE" ], "scripts": { "start": "yarn watch", "build": "run-s build:*", "build:compile": "run-p build:compile:*", "build:compile:cjs": "tsc --build tsconfig.cjs.json", "build:compile:esm": "tsc --build tsconfig.esm.json", "build:compile:bundle": "run-s build:compile:bundle:*", "build:compile:bundle:create": "rollup -c ./rollup.config.js", "build:compile:bundle:remove-extras": "rimraf dist/bundle/dist", "watch": "run-s watch:compile", "watch:compile": "yarn build:compile:cjs -w", "clean": "rimraf dist/ yarn-error.log", "quality": "run-s quality:*", "quality:test": "exit 0", "quality:format": "prettier --cache --cache-location=../../.cache/prettier/react --ignore-path ../../.prettierignore -w \"./**/*.{js,jsx,ts,tsx,css,scss,md,yaml,yml,json}\"", "quality:lint": "run-s quality:lint:*", "quality:lint:eslint": "eslint --cache --cache-location ../../.cache/eslint/react --ignore-path ../../.eslintignore \"./**/*.{js,jsx,ts,tsx}\"", "quality:lint:prettier": "prettier --cache --cache-location=../../.cache/prettier/react --ignore-path ../../.prettierignore -c \"./**/*.{js,jsx,ts,tsx,css,scss,md,yaml,yml,json}\"", "quality:lint:md": "markdownlint README.md", "quality:circular-deps": "madge --circular ." }, "dependencies": { "@grafana/faro-web-sdk": "^1.17.2", "@grafana/faro-web-tracing": "^1.17.2", "hoist-non-react-statics": "^3.3.2" }, "devDependencies": { "@types/hoist-non-react-statics": "^3.3.1", "@types/react": "^18.0.26", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.6.2" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-router-dom": "^4.0.0 || ^5.0.0 || ^6.0.0" }, "peerDependenciesMeta": { "react-dom": { "optional": true }, "react-router-dom": { "optional": true } }, "publishConfig": { "access": "public" }, "gitHead": "e563756a49120fe506590ab58312db891ea7bcb9" }