Merge branch 'master' into issue-62-rewrite-to-typescript
authorAlessandro Pio Ardizio <alessandroardizio94@gmail.com>
Mon, 8 Feb 2021 14:34:36 +0000 (15:34 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Feb 2021 14:34:36 +0000 (15:34 +0100)
1  2 
package.json

diff --cc package.json
index acdb54cc846ca92fd1fa0b8f91ae9979d5638847,800abf8c5597e58aad7c17854f98c8831e4f5689..0c1dd8cebe22e6a18656b2c252439d0130e93686
@@@ -2,20 -2,15 +2,19 @@@
    "name": "poolifier",
    "version": "1.2.1",
    "description": "Library on top of node js worker threads that implement various worker pools type",
 -  "main": "index.js",
 -  "types": "index.d.ts",
 +  "main": "lib/index.js",
    "scripts": {
 -    "build": "npm install",
 -    "test": "standard && nyc mocha --exit --timeout 20000 tests/*test.js ",
 -    "debug-test": "mocha --inspect-brk --exit tests/*test.js ",
 +    "build": "npm run build:clean && tsc",
 +    "build:clean": "rimraf lib",
 +    "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",
 -    "standard-verbose": "npx standard --verbose",
 -    "lint": "prettier-standard --format | standard --fix"
 +    "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
 +    "standard:verbose": "npx standard --verbose",
 +    "lint:standard": "prettier-standard --format | standard --fix",
 +    "ts-standard:verbose": "npx ts-standard --verbose",
 +    "lint:ts-standard": "ts-standard --fix",
 +    "lint-and-format": "npm run lint:standard && npm run lint:ts-standard && npm run import-sort"
    },
    "repository": {
      "type": "git",