"test:debug": "npm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
"coverage": "c8 report --reporter=lcov",
"coverage:html": "c8 report --reporter=html",
+ "format": "prettier . --write; ts-standard . --fix",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
"prepublishOnly": "npm run build:prod"
},
"ts-standard": {
- "ignore": [
- "tests/**/*.js"
+ "globals": [
+ "describe",
+ "it",
+ "before",
+ "after",
+ "beforeEach",
+ "afterEach"
]
},
"engines": {
"@types/node": "^18.11.3",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
- "benchmark": "^2.1.4",
+ "benny": "^3.7.1",
"c8": "^7.12.0",
"eslint": "^8.26.0",
"eslint-config-standard": "^17.0.0",