librato-ts
Version:
Client for Librato Metrics (https://metrics.librato.com/)
92 lines (91 loc) • 2.39 kB
JSON
{
"name": "librato-ts",
"version": "1.5.4",
"description": "Client for Librato Metrics (https://metrics.librato.com/)",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "unbuild",
"test": "npm run test:types && mocha \"tests/**/*.tests.ts\"",
"test:types": "tsc --noEmit --skipLibCheck",
"lint:markdown": "prettier --write '*.md' '!(node_modules|dist)/**/*.md' && markdownlint '*.md' '!(node_modules|dist)/**/*.md' --config=.github/linters/.markdown-lint.yml --fix",
"lint:code": "eslint --fix",
"lint": "run-p lint:*",
"lint-staged": "lint-staged",
"beta": "npm publish --tag beta",
"prepublishOnly": "npm run lint && npm run test && npm run build && pinst --disable",
"postpublish": "pinst --enable",
"prepare": "husky"
},
"lint-staged": {
"*.md": [
"prettier --write",
"markdownlint --config=.github/linters/.markdown-lint.yml --fix"
],
"*.cjs": [
"eslint --fix"
],
"*.ts": [
"eslint --fix"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/librato-ts/librato-ts.git"
},
"engines": {
"node": ">=18"
},
"keywords": [
"librato"
],
"author": "jim@biacreations.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/librato-ts/librato-ts/issues"
},
"homepage": "https://github.com/librato-ts/librato-ts#readme",
"dependencies": {
"axios": "1.7.9",
"axios-retry": "~4.5.0",
"strict-event-emitter-types": "2.0.0"
},
"devDependencies": {
"@types/chai": "~5.0.1",
"@types/mocha": "~10.0.10",
"@types/node": ">=22",
"@types/sinon": "~17.0.3",
"chai": "~5.1.2",
"eslint": "~9.17.0",
"eslint-config-decent": "~2.3.0",
"husky": "~9.1.7",
"lint-staged": "~15.2.11",
"markdownlint-cli": "~0.43.0",
"mocha": "~11.0.1",
"npm-run-all": "~4.1.5",
"pinst": "~3.0.0",
"prettier": "~3.4.2",
"sinon": "19.0.2",
"tsx": "~4.19.2",
"typescript": "~5.7.2",
"unbuild": "3.0.1"
}
}