diff --git a/package.json b/package.json index 78abddc..4220411 100644 --- a/package.json +++ b/package.json @@ -68,8 +68,10 @@ } }, "runScriptsConfig": { + "clean": [ + "rimraf build dist" + ], "build": [ - "rimraf build dist", "jshint . --exclude-path .gitignore", "eslint --max-warnings 0 . --ext .ts", "tsc", @@ -79,7 +81,7 @@ ] }, "scripts": { - "pretest": "run-scripts build", + "pretest": "run-scripts clean build", "test": "mocha spec --timeout 5000" }, "dependencies": { @@ -91,17 +93,17 @@ "devDependencies": { "@types/node": "~18.15", "@types/through2": "~2.0", - "@typescript-eslint/eslint-plugin": "~5.55", - "@typescript-eslint/parser": "~5.55", + "@typescript-eslint/eslint-plugin": "~5.58", + "@typescript-eslint/parser": "~5.58", "add-dist-header": "~1.0", "assert-deep-strict-equal": "~1.0", "copy-file-util": "~1.0", "copy-folder-util": "~1.0", - "eslint": "~8.36", + "eslint": "~8.38", "jshint": "~2.13", "mocha": "~10.2", - "rimraf": "~4.4", - "run-scripts-util": "~1.0", + "rimraf": "~5.0", + "run-scripts-util": "~1.1", "sinon": "~15.0", "slash": "~5.0", "typescript": "~5.0"