1 | {
|
2 | "name": "log4js",
|
3 | "version": "4.1.1",
|
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": ">=6.0"
|
29 | },
|
30 | "scripts": {
|
31 | "clean": "find test -type f ! -name '*.json' ! -name '*.js' ! -name '.eslintrc' -delete && rm *.log",
|
32 | "posttest": "npm run clean",
|
33 | "pretest": "eslint 'lib/**/*.js' 'test/**/*.js'",
|
34 | "test": "tap 'test/tap/**/*.js' --cov",
|
35 | "typings": "tsc -p types/tsconfig.json",
|
36 | "codecov": "tap 'test/tap/**/*.js' --cov --coverage-report=lcov && codecov"
|
37 | },
|
38 | "directories": {
|
39 | "test": "test",
|
40 | "lib": "lib"
|
41 | },
|
42 | "dependencies": {
|
43 | "date-format": "^2.0.0",
|
44 | "debug": "^4.1.1",
|
45 | "flatted": "^2.0.0",
|
46 | "rfdc": "^1.1.2",
|
47 | "streamroller": "^1.0.4"
|
48 | },
|
49 | "devDependencies": {
|
50 | "@log4js-node/sandboxed-module": "^2.2.1",
|
51 | "codecov": "^3.3.0",
|
52 | "conventional-changelog": "^3.1.4",
|
53 | "deep-freeze": "0.0.1",
|
54 | "eslint": "^5.16.0",
|
55 | "eslint-config-airbnb-base": "^13.1.0",
|
56 | "eslint-import-resolver-node": "^0.3.1",
|
57 | "eslint-plugin-import": "^2.17.2",
|
58 | "husky": "^1.3.1",
|
59 | "nyc": "^14.1.0",
|
60 | "tap": "^12.6.5",
|
61 | "typescript": "^3.4.5",
|
62 | "validate-commit-msg": "^2.14.0"
|
63 | },
|
64 | "browser": {
|
65 | "os": false
|
66 | },
|
67 | "config": {
|
68 | "validate-commit-msg": {
|
69 | "types": [
|
70 | "feat",
|
71 | "fix",
|
72 | "docs",
|
73 | "style",
|
74 | "refactor",
|
75 | "example",
|
76 | "perf",
|
77 | "test",
|
78 | "chore",
|
79 | "revert"
|
80 | ],
|
81 | "warnOnFail": false,
|
82 | "maxSubjectLength": 72,
|
83 | "subjectPattern": ".+",
|
84 | "subjectPatternErrorMsg": "subject does not match subject pattern!",
|
85 | "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"
|
86 | }
|
87 | },
|
88 | "nyc": {
|
89 | "all": true,
|
90 | "include": [
|
91 | "lib/**/*.js"
|
92 | ],
|
93 | "require": [
|
94 | "./test/sandbox-coverage"
|
95 | ]
|
96 | },
|
97 | "husky": {
|
98 | "hooks": {
|
99 | "commit-msg": "validate-commit-msg",
|
100 | "pre-push": "npm test && npm run typings"
|
101 | }
|
102 | }
|
103 | }
|