66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"name": "@wxt-dev/analytics",
|
|
"version": "0.5.1",
|
|
"description": "Add analytics to your web extension",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/wxt-dev/wxt.git",
|
|
"directory": "packages/analytics"
|
|
},
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./module": {
|
|
"types": "./dist/module.d.mts",
|
|
"default": "./dist/module.mjs"
|
|
},
|
|
"./background-plugin": {
|
|
"types": "./dist/background-plugin.d.mts",
|
|
"default": "./dist/background-plugin.mjs"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types.d.mts"
|
|
},
|
|
"./providers/google-analytics-4": {
|
|
"types": "./dist/providers/google-analytics-4.d.mts",
|
|
"default": "./dist/providers/google-analytics-4.mjs"
|
|
},
|
|
"./providers/umami": {
|
|
"types": "./dist/providers/umami.d.mts",
|
|
"default": "./dist/providers/umami.mjs"
|
|
}
|
|
},
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"dev": "buildc --deps-only -- wxt",
|
|
"dev:build": "buildc --deps-only -- wxt build",
|
|
"check": "pnpm build && check",
|
|
"build": "buildc -- unbuild",
|
|
"prepack": "pnpm -s build",
|
|
"prepare": "buildc --deps-only -- wxt prepare"
|
|
},
|
|
"peerDependencies": {
|
|
"wxt": ">=0.20.0"
|
|
},
|
|
"devDependencies": {
|
|
"@aklinker1/check": "^2.2.0",
|
|
"@types/ua-parser-js": "^0.7.39",
|
|
"publint": "^0.3.16",
|
|
"typescript": "^5.9.3",
|
|
"unbuild": "^3.6.1",
|
|
"wxt": "workspace:*"
|
|
},
|
|
"dependencies": {
|
|
"@wxt-dev/browser": "workspace:^",
|
|
"ua-parser-js": "^1.0.40"
|
|
}
|
|
}
|