[6a3a178] | 1 | {
|
---|
| 2 | "name": "log4js",
|
---|
| 3 | "version": "6.3.0",
|
---|
| 4 | "description": "Port of Log4js to work with node.",
|
---|
| 5 | "homepage": "https://log4js-node.github.io/log4js-node/",
|
---|
| 6 | "files": [
|
---|
| 7 | "lib",
|
---|
| 8 | "types"
|
---|
| 9 | ],
|
---|
| 10 | "keywords": [
|
---|
| 11 | "logging",
|
---|
| 12 | "log",
|
---|
| 13 | "log4j",
|
---|
| 14 | "node"
|
---|
| 15 | ],
|
---|
| 16 | "license": "Apache-2.0",
|
---|
| 17 | "main": "./lib/log4js",
|
---|
| 18 | "types": "./types/log4js.d.ts",
|
---|
| 19 | "author": "Gareth Jones <gareth.nomiddlename@gmail.com>",
|
---|
| 20 | "repository": {
|
---|
| 21 | "type": "git",
|
---|
| 22 | "url": "https://github.com/log4js-node/log4js-node.git"
|
---|
| 23 | },
|
---|
| 24 | "bugs": {
|
---|
| 25 | "url": "http://github.com/log4js-node/log4js-node/issues"
|
---|
| 26 | },
|
---|
| 27 | "engines": {
|
---|
| 28 | "node": ">=8.0"
|
---|
| 29 | },
|
---|
| 30 | "scripts": {
|
---|
| 31 | "pretest": "eslint \"lib/**/*.js\" \"test/**/*.js\"",
|
---|
| 32 | "test": "tap \"test/tap/**/*.js\" --cov",
|
---|
| 33 | "typings": "tsc -p types/tsconfig.json",
|
---|
| 34 | "codecov": "tap \"test/tap/**/*.js\" --cov --coverage-report=lcov && codecov"
|
---|
| 35 | },
|
---|
| 36 | "directories": {
|
---|
| 37 | "test": "test",
|
---|
| 38 | "lib": "lib"
|
---|
| 39 | },
|
---|
| 40 | "dependencies": {
|
---|
| 41 | "date-format": "^3.0.0",
|
---|
| 42 | "debug": "^4.1.1",
|
---|
| 43 | "flatted": "^2.0.1",
|
---|
| 44 | "rfdc": "^1.1.4",
|
---|
| 45 | "streamroller": "^2.2.4"
|
---|
| 46 | },
|
---|
| 47 | "devDependencies": {
|
---|
| 48 | "@log4js-node/sandboxed-module": "^2.2.1",
|
---|
| 49 | "callsites": "^3.1.0",
|
---|
| 50 | "codecov": "^3.6.1",
|
---|
| 51 | "deep-freeze": "0.0.1",
|
---|
| 52 | "eslint": "^5.16.0",
|
---|
| 53 | "eslint-config-airbnb-base": "^13.2.0",
|
---|
| 54 | "eslint-config-prettier": "^6.5.0",
|
---|
| 55 | "eslint-import-resolver-node": "^0.3.2",
|
---|
| 56 | "eslint-plugin-import": "^2.18.2",
|
---|
| 57 | "eslint-plugin-prettier": "^3.1.1",
|
---|
| 58 | "fs-extra": "^8.1.0",
|
---|
| 59 | "husky": "^3.0.9",
|
---|
| 60 | "nyc": "^14.1.1",
|
---|
| 61 | "prettier": "^1.18.2",
|
---|
| 62 | "proxyquire": "^2.1.3",
|
---|
| 63 | "tap": "^14.10.7",
|
---|
| 64 | "typescript": "^3.7.2",
|
---|
| 65 | "validate-commit-msg": "^2.14.0"
|
---|
| 66 | },
|
---|
| 67 | "browser": {
|
---|
| 68 | "os": false
|
---|
| 69 | },
|
---|
| 70 | "config": {
|
---|
| 71 | "validate-commit-msg": {
|
---|
| 72 | "types": [
|
---|
| 73 | "feat",
|
---|
| 74 | "fix",
|
---|
| 75 | "docs",
|
---|
| 76 | "style",
|
---|
| 77 | "refactor",
|
---|
| 78 | "example",
|
---|
| 79 | "perf",
|
---|
| 80 | "test",
|
---|
| 81 | "chore",
|
---|
| 82 | "revert"
|
---|
| 83 | ],
|
---|
| 84 | "warnOnFail": false,
|
---|
| 85 | "maxSubjectLength": 72,
|
---|
| 86 | "subjectPattern": ".+",
|
---|
| 87 | "subjectPatternErrorMsg": "subject does not match subject pattern!",
|
---|
| 88 | "helpMessage": "\n# allowed type: feat, fix, docs, style, refactor, example, perf, test, chore, revert\n# subject no more than 50 chars\n# a body line no more than 72 chars"
|
---|
| 89 | }
|
---|
| 90 | },
|
---|
| 91 | "nyc": {
|
---|
| 92 | "all": true,
|
---|
| 93 | "include": [
|
---|
| 94 | "lib/**/*.js"
|
---|
| 95 | ],
|
---|
| 96 | "require": [
|
---|
| 97 | "./test/sandbox-coverage"
|
---|
| 98 | ]
|
---|
| 99 | },
|
---|
| 100 | "husky": {
|
---|
| 101 | "hooks": {
|
---|
| 102 | "commit-msg": "validate-commit-msg",
|
---|
| 103 | "pre-push": "npm test && npm run typings"
|
---|
| 104 | }
|
---|
| 105 | }
|
---|
| 106 | }
|
---|