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

Commit

Permalink
More granular build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Apr 14, 2023
1 parent 4475e2d commit 42cc648
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@
}
},
"runScriptsConfig": {
"clean": [
"rimraf build dist"
],
"build": [
"rimraf build dist",
"jshint . --exclude-path .gitignore",
"eslint --max-warnings 0 . --ext .ts",
"tsc",
Expand All @@ -79,7 +81,7 @@
]
},
"scripts": {
"pretest": "run-scripts build",
"pretest": "run-scripts clean build",
"test": "mocha spec --timeout 5000"
},
"dependencies": {
Expand All @@ -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"
Expand Down

0 comments on commit 42cc648

Please sign in to comment.