Add "yarn clean" to JS bindings

Summary: The build is contained to `build` and `dist` folders we can just wipe.

Reviewed By: huntie

Differential Revision: D42285227

fbshipit-source-id: 18fa4a3e801415169e5b5b8cf212640199e627ba
This commit is contained in:
Nick Gerleman
2022-12-30 14:29:42 -08:00
committed by Facebook GitHub Bot
parent 9fe1e77274
commit 2359ccde78
2 changed files with 4 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
const {
argv,
cleanTask,
copyTask,
eslintTask,
logger,
@@ -27,6 +28,8 @@ const node = process.execPath;
option("fix");
task("clean", cleanTask({paths: ['build', 'dist']}));
task(
"prepare-for-build",
parallel(

View File

@@ -28,6 +28,7 @@
"scripts": {
"benchmark": "just benchmark",
"build": "just build",
"clean": "just clean",
"lint": "just lint",
"lint:fix": "just lint --fix",
"test": "just test",