Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 42cc648

Browse files
committed
More granular build tasks
1 parent 4475e2d commit 42cc648

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@
6868
}
6969
},
7070
"runScriptsConfig": {
71+
"clean": [
72+
"rimraf build dist"
73+
],
7174
"build": [
72-
"rimraf build dist",
7375
"jshint . --exclude-path .gitignore",
7476
"eslint --max-warnings 0 . --ext .ts",
7577
"tsc",
@@ -79,7 +81,7 @@
7981
]
8082
},
8183
"scripts": {
82-
"pretest": "run-scripts build",
84+
"pretest": "run-scripts clean build",
8385
"test": "mocha spec --timeout 5000"
8486
},
8587
"dependencies": {
@@ -91,17 +93,17 @@
9193
"devDependencies": {
9294
"@types/node": "~18.15",
9395
"@types/through2": "~2.0",
94-
"@typescript-eslint/eslint-plugin": "~5.55",
95-
"@typescript-eslint/parser": "~5.55",
96+
"@typescript-eslint/eslint-plugin": "~5.58",
97+
"@typescript-eslint/parser": "~5.58",
9698
"add-dist-header": "~1.0",
9799
"assert-deep-strict-equal": "~1.0",
98100
"copy-file-util": "~1.0",
99101
"copy-folder-util": "~1.0",
100-
"eslint": "~8.36",
102+
"eslint": "~8.38",
101103
"jshint": "~2.13",
102104
"mocha": "~10.2",
103-
"rimraf": "~4.4",
104-
"run-scripts-util": "~1.0",
105+
"rimraf": "~5.0",
106+
"run-scripts-util": "~1.1",
105107
"sinon": "~15.0",
106108
"slash": "~5.0",
107109
"typescript": "~5.0"

0 commit comments

Comments
 (0)