-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.15 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
{
"name": "lib-logger",
"version": "2.0.5",
"description": "Library that simplifies the way we log JSON output",
"main": "index.js",
"scripts": {
"test": "NODE_ENV=test nyc mocha",
"coverage": "nyc --reporter=lcov --reporter=text-lcov mocha",
"lint": "eslint --fix .",
"ci": "npm run fmt && npm run lint && npm test",
"fmt": "./node_modules/prettier/bin-prettier.js *.js './**/*.js' --write"
},
"author": "Namshi",
"repository": "github:namshi/lib-logger",
"keywords": [
"json",
"logger",
"log",
"logging"
],
"license": "MIT",
"dependencies": {
"winston": "^3.0.0-rc1"
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^5.16.0",
"husky": "^2.2.0",
"lint-staged": "^8.1.6",
"mocha": "^5.2.0",
"nyc": "^14.1.0",
"prettier": "^1.17.0",
"rewire": "^4.0.1",
"yaml-lint": "^1.2.4"
},
"prettier": {
"printWidth": 300
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.yml": [
"yamllint"
],
"*.js": [
"prettier --write",
"eslint --ignore-pattern test --fix .",
"git add"
]
}
}