UNPKG

alerta-node-client

Version:
59 lines (58 loc) 1.42 kB
{ "name": "alerta-node-client", "version": "0.0.2", "description": "A Node.js client for the Alerta.io API", "type": "module", "main": "dist/cjs/index.js", "module": "dist/es6/index.js", "exports": { "require": "./dist/cjs/index.js", "import": "./dist/es6/index.js" }, "scripts": { "test": "jest", "lint": "eslint src/**", "build": "npm run build:cjs && npm run build:es6", "build:cjs": "babel src --out-dir dist/cjs --presets=@babel/preset-env --plugins=@babel/plugin-transform-runtime", "build:es6": "babel src --out-dir dist/es6 --presets=@babel/preset-env" }, "keywords": [ "alerta", "api", "client", "monitoring" ], "author": "Davod Mozafari", "license": "MIT", "dependencies": { "axios": "^1.7.8", "joi": "^17.13.3" }, "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.26.0", "@babel/plugin-transform-runtime": "^7.25.9", "@babel/preset-env": "^7.26.0", "@eslint/js": "^9.16.0", "babel-jest": "^29.7.0", "eslint": "^8.57.1", "globals": "^15.13.0", "jest": "^29.7.0", "sinon": "^19.0.2" }, "repository": { "type": "git", "url": "https://github.com/davodm/alerta-node-client.git" }, "engines": { "node": ">=12.0.0" }, "babel": { "presets": [ "@babel/preset-env" ], "plugins": [ "@babel/plugin-transform-runtime" ] } }