AkashBabu/logler

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "logler",
    "version": "1.1.4",
    "description": "Most flexible nodejs logging library",
    "main": "dist/index.js",
    "typings": "dist/index.d.ts",
    "scripts": {
        "_test": "cross-env TS_NODE_FILES=true mocha --require ts-node/register test/*.spec.ts",
        "_test:exit": "npm run _test -- --exit",
        "test": "cross-env NODE_ENV=test npm run _test:exit",
        "test:dev": "cross-env NODE_ENV=test npm run _test -- -w",
        "test:grep": "cross-env NODE_ENV=test npm run _test -- -g ",
        "coverage": "nyc npm run test",
        "lint:fix": "tslint --fix --config tslint.json src/index.ts",
        "lint": "tslint --config tslint.json src/index.ts",
        "build": "tsc --build tsconfig.json",
        "status": "git status",
        "tsdoc": "typedoc",
        "coveralls": "npm run coverage && nyc report --reporter=text-lcov | coveralls"
    },
    "engines": {
        "node": ">=8.0.0"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/AkashBabu/logler.git"
    },
    "keywords": [
        "logger",
        "flexible",
        "async",
        "requestId",
        "sentry",
        "configurable",
        "logler"
    ],
    "author": "Akash Babu (001akashbabu@gmail.com)",
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/AkashBabu/logler.git"
    },
    "homepage": "https://github.com/AkashBabu/logler.git",
    "lint-staged": {
        "src/**/*": [
            "git add"
        ]
    },
    "husky": {
        "hooks": {
            "pre-commit": "run-s build lint test coverage tsdoc && lint-staged"
        }
    },
    "nyc": {
        "extension": [
            ".ts"
        ],
        "exclude": [
            "**/*.d.ts"
        ],
        "include": [
            "src/**/*"
        ]
    },
    "devDependencies": {
        "@babel/core": "^7.7.2",
        "@babel/preset-env": "^7.7.1",
        "@babel/preset-typescript": "^7.7.2",
        "@rollup/plugin-replace": "^2.2.1",
        "@types/chai": "^4.2.11",
        "@types/mocha": "^5.2.7",
        "@types/node": "^12.7.12",
        "@types/sinon": "^9.0.0",
        "chai": "^4.1.2",
        "coveralls": "^3.0.6",
        "cross-env": "^6.0.0",
        "husky": "^4.2.5",
        "lint-staged": "^10.2.2",
        "mocha": "^5.2.0",
        "moment": "^2.25.1",
        "npm-run-all": "^4.1.5",
        "nyc": "^12.0.2",
        "sinon": "^7.2.2",
        "ts-node": "^8.0.2",
        "tslint": "^5.20.0",
        "typedoc": "^0.17.6",
        "typedoc-plugin-markdown": "^2.2.17",
        "typescript": "^3.6.4"
    },
    "dependencies": {
        "colors": "^1.3.3"
    }
}