Skip to content

Commit

Permalink
Create "clean" npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver committed Jul 16, 2023
1 parent 5d2f99c commit acb26b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"hooks": {
"before:init": [
"npm run clean",
"npm run compile",
"npm run lint",
"npm run copy:paste:detection",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"target/src/**/*.js.map"
],
"scripts": {
"clean": "rm -rf target",
"compile": "tsc --build",
"lint": "eslint src test --ext '.ts,.tsx'",
"copy:paste:detection": "jscpd src test",
Expand Down

0 comments on commit acb26b4

Please sign in to comment.