UNPKG

nitro-applicationinsights

Version:
80 lines 2.46 kB
{ "name": "nitro-applicationinsights", "version": "1.1.2", "description": "Application insights plugin for nitro.", "repository": "huang-julien/nitro-applicationinsights", "license": "MIT", "keywords": [ "nitro", "applicationinsights", "nitropack", "unjs" ], "sideEffects": false, "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./runtime/*": { "types": "./dist/runtime/*", "import": "./dist/runtime/*", "require": "./dist/runtime/*" } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "devDependencies": { "@opentelemetry/api": "^1.9.0", "@opentelemetry/context-async-hooks": "^1.30.1", "@opentelemetry/sdk-trace-node": "^1.30.1", "@opentelemetry/semantic-conventions": "^1.30.0", "@types/node": "^22.13.8", "@vitest/coverage-v8": "^3.0.7", "@vitest/ui": "^3.0.7", "changelogen": "^0.6.0", "eslint": "9.21.0", "eslint-config-unjs": "^0.4.2", "jiti": "^2.4.2", "nitro-applicationinsights": "link:./", "ofetch": "^1.4.1", "rollup": "^4.34.9", "typescript": "^5.8.2", "unbuild": "^3.5.0", "vitest": "^3.0.7" }, "dependencies": { "@opentelemetry/instrumentation": "^0.57.2", "@opentelemetry/instrumentation-http": "^0.57.2", "@opentelemetry/instrumentation-undici": "^0.10.1", "applicationinsights": "^3.5.0", "defu": "^6.1.4", "magic-string": "^0.30.17", "mlly": "^1.7.4", "nitro-opentelemetry": "^0.7.5", "nitro-test-utils": "^0.9.1", "pathe": "^2.0.3" }, "peerDependencies": { "h3": ">=1.15.1", "nitropack": ">=2.10.4" }, "scripts": { "build": "unbuild", "dev:prepare": "pnpm build --stub && pnpm nitropack prepare && pnpm nitro prepare ./playground", "dev": "pnpm nitro dev ./playground", "dev:build": "pnpm nitro build ./playground", "play": "jiti playground", "lint": "pnpm nitro prepare playground && eslint --cache .", "lint:fix": "pnpm nitro prepare playground && eslint --cache . --fix", "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags", "test": "pnpm lint && pnpm test:types && pnpm build && vitest run --coverage --c ./test/vitest.config.ts", "test:types": "tsc --noEmit --skipLibCheck" } }