2023-03-30 00:36:46 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/app-insights",
|
2023-06-28 05:57:43 -05:00
|
|
|
"version": "1.3.1",
|
2023-03-30 00:36:46 -05:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"type": "module",
|
|
|
|
"files": [
|
|
|
|
"lib"
|
|
|
|
],
|
|
|
|
"exports": {
|
|
|
|
"./*": {
|
2023-04-03 02:40:56 -05:00
|
|
|
"import": "./lib/*.js",
|
|
|
|
"types": "./lib/*.d.ts"
|
2023-04-20 05:15:05 -05:00
|
|
|
},
|
|
|
|
"./react": {
|
|
|
|
"import": "./lib/react/index.js",
|
|
|
|
"types": "./lib/react/index.d.ts"
|
2023-03-30 00:36:46 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
|
2023-06-21 03:05:33 -05:00
|
|
|
"build:test": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
2023-03-30 00:36:46 -05:00
|
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
|
|
"lint": "eslint --ext .ts src",
|
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2023-06-21 03:05:33 -05:00
|
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
|
|
"test": "pnpm build:test && pnpm test:only",
|
2023-03-30 00:36:46 -05:00
|
|
|
"prepack": "pnpm build"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-07 12:17:21 -05:00
|
|
|
"@silverhand/eslint-config": "4.0.1",
|
|
|
|
"@silverhand/eslint-config-react": "4.0.1",
|
|
|
|
"@silverhand/ts-config": "4.0.0",
|
|
|
|
"@silverhand/ts-config-react": "4.0.0",
|
2023-06-21 03:05:33 -05:00
|
|
|
"@types/jest": "^29.4.0",
|
2023-03-30 00:36:46 -05:00
|
|
|
"@types/node": "^18.11.18",
|
|
|
|
"@types/react": "^18.0.31",
|
2023-07-07 12:17:21 -05:00
|
|
|
"eslint": "^8.44.0",
|
2023-03-30 00:36:46 -05:00
|
|
|
"history": "^5.3.0",
|
2023-06-21 03:05:33 -05:00
|
|
|
"jest": "^29.5.0",
|
2023-03-30 00:36:46 -05:00
|
|
|
"lint-staged": "^13.0.0",
|
2023-07-07 12:17:21 -05:00
|
|
|
"prettier": "^3.0.0",
|
2023-03-30 00:36:46 -05:00
|
|
|
"react": "^18.0.0",
|
|
|
|
"tslib": "^2.4.1",
|
|
|
|
"typescript": "^5.0.0"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "^18.12.0"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2023-04-20 05:15:05 -05:00
|
|
|
"extends": "@silverhand/react"
|
2023-03-30 00:36:46 -05:00
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
|
|
"dependencies": {
|
2023-07-24 04:41:09 -05:00
|
|
|
"@microsoft/applicationinsights-clickanalytics-js": "^3.0.2",
|
|
|
|
"@microsoft/applicationinsights-react-js": "^17.0.0",
|
|
|
|
"@microsoft/applicationinsights-web": "^3.0.2",
|
2023-03-30 00:36:46 -05:00
|
|
|
"@silverhand/essentials": "^2.5.0",
|
2023-07-24 04:41:09 -05:00
|
|
|
"applicationinsights": "^2.7.0"
|
2023-03-30 00:36:46 -05:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"history": "^5.3.0",
|
|
|
|
"react": "^18.0.0",
|
|
|
|
"tslib": "^2.4.1"
|
|
|
|
},
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"history": {
|
|
|
|
"optional": true
|
|
|
|
},
|
|
|
|
"react": {
|
|
|
|
"optional": true
|
|
|
|
},
|
|
|
|
"tslib": {
|
|
|
|
"optional": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|