Stricter tests expectations
[poolifier.git] / package.json
index f6d56b7bece7a6d3393550ed1f8f0fa05a9ab278..9280e8e29d7586511d14aa6c8018367a084df71e 100644 (file)
@@ -4,6 +4,7 @@
   "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation",
   "main": "lib/index.js",
   "scripts": {
+    "prepare": "node prepare.js",
     "build": "rollup --config --environment BUILD:development",
     "build:typedoc": "rollup --config --environment BUILD:development --environment DOCUMENTATION",
     "build:prod": "rollup --config",
@@ -17,6 +18,7 @@
     "format": "prettier --loglevel silent --write .; prettierx --write .",
     "lint": "eslint . --cache",
     "lint:fix": "eslint . --cache --fix",
+    "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
     "typedoc": "typedoc",
     "sonar:properties": "./updateSonarProps.sh",
     "prepublishOnly": "npm run build:prod"
@@ -78,6 +80,8 @@
     "eslint-plugin-promise": "^6.0.1",
     "eslint-plugin-spellcheck": "^0.0.19",
     "expect": "^29.1.2",
+    "husky": "^8.0.1",
+    "lint-staged": "^13.0.3",
     "microtime": "^3.1.1",
     "mocha": "^10.0.0",
     "mochawesome": "^7.1.3",