"scripts": {
"build": "npm run build:clean && tsc",
"build:clean": "rimraf lib",
- "test": "npm run build && nyc mocha --exit --timeout 20000 tests/*test.js ",
- "test:debug": "mocha --inspect-brk --exit tests/*test.js ",
+ "test": "npm run build && nyc mocha --exit --timeout 20000 tests/**/*.test.js",
+ "test:debug": "mocha --inspect-brk --exit tests/**/*.test.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
+ "coverage:html": "nyc --reporter=html mocha --exit --timeout 20000 tests/**/*.test.js",
"format": "prettier --loglevel silent --write .; prettierx --write .",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
- "eslint-plugin-prettierx": "^0.17.0",
+ "eslint-plugin-prettierx": "^0.17.1",
"eslint-plugin-promise": "^4.2.1",
"expect": "^26.6.2",
"mocha": "^8.2.1",
"typescript": "^4.1.3"
},
"engines": {
- "node": ">=12.11.0"
+ "node": ">=12.11.0",
+ "npm": ">=6.0.0 <7"
}
}