UNPKG

@eggjs/tracer

Version:
99 lines (98 loc) 2.28 kB
{ "name": "@eggjs/tracer", "version": "3.0.0", "publishConfig": { "access": "public" }, "description": "tracer for egg", "eggPlugin": { "name": "tracer", "exports": { "import": "./dist/esm", "require": "./dist/commonjs", "typescript": "./src" } }, "keywords": [ "egg", "egg-plugin", "eggPlugin", "tracer", "traceId", "spanId", "parentSpanId" ], "repository": { "type": "git", "url": "git+https://github.com/eggjs/tracer.git" }, "bugs": { "url": "https://github.com/eggjs/egg/issues" }, "homepage": "https://github.com/eggjs/tracer#readme", "author": "fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)", "license": "MIT", "engines": { "node": ">= 18.19.0" }, "dependencies": { "@eggjs/core": "^6.2.13" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.3", "@eggjs/bin": "7", "@eggjs/mock": "^6.0.5", "@eggjs/tsconfig": "1", "@types/mocha": "10", "@types/node": "22", "egg": "^4.0.5", "egg-logger": "^3.6.1", "eslint": "8", "eslint-config-egg": "14", "glob": "^11.0.1", "rimraf": "6", "snap-shot-it": "^7.9.10", "supertest": "^6.3.3", "tsd": "^0.31.2", "tshy": "3", "tshy-after": "1", "typescript": "5" }, "scripts": { "lint": "eslint --cache src test --ext .ts", "pretest": "npm run clean && npm run lint -- --fix", "test": "egg-bin test", "preci": "npm run clean && npm run lint", "ci": "egg-bin cov", "postci": "npm run prepublishOnly && npm run clean", "clean": "rimraf dist", "prepublishOnly": "tshy && tshy-after && attw --pack" }, "type": "module", "tshy": { "exports": { ".": "./src/index.ts", "./package.json": "./package.json" } }, "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } }, "./package.json": "./package.json" }, "files": [ "dist", "src" ], "types": "./dist/commonjs/index.d.ts", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js" }