opentelemetry-js/packages/template/package.json

109 lines
3.2 KiB
JSON

{
"name": "@opentelemetry/template",
"version": "1.24.1",
"private": true,
"publishConfig": {
"access": "restricted"
},
"description": "> TODO: description",
"author": "OpenTelemetry Authors",
"Update homepage location": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/template",
"license": "Apache-2.0",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"Add these entries if browser is supported": {
"module": "build/esm/index.js",
"esnext": "build/esnext/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/open-telemetry/opentelemetry-js.git"
},
"bugs": {
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"engines": {
"node": ">=14"
},
"scripts": {
"prepublishOnly": "npm run compile",
"compile": "tsc --build",
"version": "node ../../scripts/version-update.js",
"clean": "tsc --build --clean",
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
"prewatch": "npm run precompile",
"peer-api-check": "node ../../scripts/peer-api-check.js",
"align-api-deps": "node ../../scripts/align-api-deps.js"
},
"Add these to scripts": {
"compile": "tsc --build",
"clean": "tsc --build --clean",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"version": "node ../../scripts/version-update.js",
"watch": "tsc --build --watch"
},
"Add/change these to scripts if browser is supported": {
"compile": "tsc --build tsconfig.json",
"clean": "tsc --build --clean tsconfig.json",
"test:browser": "karma start --single-run",
"codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"watch": "tsc --build --watch tsconfig.json"
},
"keywords": [
"opentelemetry",
"nodejs",
"browser",
"tracing",
"profiling",
"metrics",
"stats",
"monitoring"
],
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"LICENSE",
"README.md"
],
"sideEffects": false,
"Add these to files if browser is supported": [
"build/esm/**/*.js",
"build/esm/**/*.js.map",
"build/esm/**/*.d.ts",
"build/esnext/**/*.js",
"build/esnext/**/*.js.map",
"build/esnext/**/*.d.ts"
],
"devDependencies": {
"@types/node": "18.6.5",
"cross-var": "1.1.0",
"lerna": "6.6.2",
"typescript": "4.4.4"
},
"Add these to devDependencies for testing": {
"@types/mocha": "9.1.1",
"@types/sinon": "10.0.13",
"codecov": "3.8.3",
"mocha": "10.0.0",
"nyc": "15.1.0",
"sinon": "15.0.0",
"ts-mocha": "10.0.0"
},
"Add these to devDependencies if browser is targeted": {
"@types/webpack-env": "1.16.0",
"babel-plugin-istanbul": "6.1.1",
"karma": "6.4.2",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.2.0",
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"ts-loader": "8.4.0",
"webpack": "5.89.0"
}
}