forked from Juravenator/formal-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 1.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "graylogger",
"version": "0.1.6",
"description": "Overrides console functions in Node.js and logging to GrayLog server",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/iplr/graylogger.git"
},
"keywords": [
"node",
"nodejs",
"console",
"logging",
"graylog"
],
"author": "iLia Lumpov",
"license": "MIT",
"bugs": {
"url": "https://github.com/iplr/graylogger"
},
"homepage": "https://github.com/iplr/graylogger#readme",
"dependencies": {
"circular-json": "^0.5.9",
"moment": "^2.29.1",
"pretty-error": "^2.1.2",
"request": "^2.88.2",
"stringz": "^2.1.0",
"terminal-kit": "^1.49.3"
},
"devDependencies": {
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"dotenv": "^8.6.0",
"eslint": "^5.16",
"husky": "^1.3.1",
"jest": "^24.7.0",
"lint-staged": "^8.1.6",
"mocha": "^6.2.3",
"prettier": "^1.17.0",
"supertest": "^4.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "export NODE_ENV=localhost && npm test"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"eslintConfig": {
"env": {
"mocha": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"quotes": [
2,
"single"
],
"strict": [
2,
"global"
],
"semi": [
"error",
"always"
],
"no-console": "off"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"scripts": {
"test__": "export HUSKY_DEBUG=true && echo $NODE_ENV >> /tmp/huskylog.txt && whoami >> /tmp/huskylog.txt && exit 1",
"mocha": "mocha --exit",
"test": "test/test.sh"
}
}