]> git.r.bdr.sh - rbdr/cologne/blobdiff - package.json
Run lint and test on merge requests
[rbdr/cologne] / package.json
index 6f7b73dce9090c601b63fbf3a0d136fc69b3e31b..ab2feef46f3653cb999368564bbde13c7f0356bf 100644 (file)
@@ -1,29 +1,27 @@
 {
   "name": "cologne",
   "description": "Logger + multiplexer for JSON based logs",
-  "author": {
-    "name": "Ben Beltran",
-    "email": "ben@nsovocal.com",
-    "url": "http://unlimited.pizza"
-  },
+  "author": "Rubén Beltrán del Río <ruben@unlimited.pizza>",
   "repository": {
     "type": "git",
-    "url": "https://github.com/rbdr/cologne.git"
+    "url": "git+ssh://git@gitlab.com/rbdr/cologne.git"
   },
-  "version": "1.1.0",
-  "dependencies": {
-    "microtime": "2.0.x"
+  "bugs": {
+    "url": "https://gitlab.com/rbdr/cologne/issues"
   },
+  "version": "2.0.1",
   "devDependencies": {
-    "tap": "5.1.x",
-    "jsdoc-augmented-template": "rbdr/jsdoc-augmented-template"
-  },
-  "engines": {
-    "node": ">= 4.0.0"
+    "@hapi/eslint-config-hapi": "^13.0.2",
+    "@hapi/eslint-plugin-hapi": "^4.3.6",
+    "eslint": "^7.9.0",
+    "tap": "^14.10.8",
+    "jsdoc-to-markdown": "^6.0.1"
   },
   "scripts": {
-    "test": "node_modules/tap/bin/run.js test/*.js test/**/*.js test/**/**/*.js",
-    "document": "jsdoc -c ./config/jsdoc.json lib"
+    "document": "jsdoc2md lib/**/*.js > doc/README.md; tap -R markdown > doc/COVERAGE.md",
+    "lint": "eslint .",
+    "test": "tap",
+    "coverage": "nyc report --reporter=text-lcov"
   },
   "main": "./lib/cologne.js"
 }