0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/app-insights/package.json
Gao Sun 748878ce5b
feat(app-insights): add React context provider and hook
and fix AppInsights init issue for frontend projects.
2023-04-21 00:29:53 +08:00

82 lines
2.1 KiB
JSON

{
"name": "@logto/app-insights",
"version": "1.1.0",
"main": "lib/index.js",
"author": "Silverhand Inc. <contact@silverhand.io>",
"license": "MPL-2.0",
"type": "module",
"files": [
"lib"
],
"exports": {
"./*": {
"import": "./lib/*.js",
"types": "./lib/*.d.ts"
},
"./react": {
"import": "./lib/react/index.js",
"types": "./lib/react/index.d.ts"
}
},
"//": "This field is for parcel. Remove after https://github.com/parcel-bundler/parcel/pull/8807 published.",
"alias": {
"./react": "./lib/react/index.js"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"precommit": "lint-staged",
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
"build:test": "pnpm build",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
"lint": "eslint --ext .ts src",
"lint:report": "pnpm lint --format json --output-file report.json",
"prepack": "pnpm build"
},
"devDependencies": {
"@silverhand/eslint-config": "3.0.1",
"@silverhand/eslint-config-react": "3.0.1",
"@silverhand/ts-config": "3.0.0",
"@silverhand/ts-config-react": "3.0.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.31",
"eslint": "^8.34.0",
"history": "^5.3.0",
"lint-staged": "^13.0.0",
"prettier": "^2.8.2",
"react": "^18.0.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0"
},
"engines": {
"node": "^18.12.0"
},
"eslintConfig": {
"extends": "@silverhand/react"
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"@microsoft/applicationinsights-clickanalytics-js": "^2.8.12",
"@microsoft/applicationinsights-react-js": "^3.4.2",
"@microsoft/applicationinsights-web": "^2.8.12",
"@silverhand/essentials": "^2.5.0",
"applicationinsights": "^2.5.0"
},
"peerDependencies": {
"history": "^5.3.0",
"react": "^18.0.0",
"tslib": "^2.4.1"
},
"peerDependenciesMeta": {
"history": {
"optional": true
},
"react": {
"optional": true
},
"tslib": {
"optional": true
}
}
}