Throw error if worker was not in tasks
[poolifier.git] / package.json
index 07cebf187d8a6bf00352ab297ab39c975846aac8..0c1dd8cebe22e6a18656b2c252439d0130e93686 100644 (file)
@@ -6,9 +6,8 @@
   "scripts": {
     "build": "npm run build:clean && tsc",
     "build:clean": "rimraf lib",
-    "test": "npm run build && nyc mocha --exit --timeout 20000 tests/*test.js ",
+    "test": "standard && ts-standard && npm run build && nyc mocha --exit --timeout 20000 tests/*test.js ",
     "test:debug": "mocha --inspect-brk --exit tests/*test.js ",
-    "test:nodemon": "nodemon --exec \"npm test\"",
     "coverage": "nyc report --reporter=text-lcov | coveralls",
     "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
     "standard:verbose": "npx standard --verbose",
@@ -36,6 +35,7 @@
       "node"
     ],
     "ignore": [
+      "lib/",
       "src/",
       "examples/typescript/"
     ]
       "mocha",
       "node"
     ],
-    "extensions": ".ts"
+    "extensions": ".ts",
+    "ignore": [
+      "lib/",
+      "examples/typescript/"
+    ]
   },
   "author": "pioardi",
   "license": "MIT",