Skip to content

Commit

Permalink
Improve clean & compile tasks on project
Browse files Browse the repository at this point in the history
  • Loading branch information
sim51 committed Nov 16, 2023
1 parent 55add91 commit e96af65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"compile": "tsc -b --preserveWatchOutput",
"dataprep": "npm run exec --workspace=@lasso/dataprep",
"build": "npm run clean && npm run lint && npm run compile -- --force && npm run build --workspace=@lasso/client",
"start": "concurrently -n lint,compile,dataprep,client \"npm run lint -- --watch\" \"npm run compile -- --watch\" \"npm run start --workspace=@lasso/dataprep\" \"npm run start --workspace=@lasso/client\"",
"start": "npm run compile && concurrently -n lint,compile,dataprep,client \"npm run lint -- --watch\" \"npm run compile -- --watch\" \"npm run start --workspace=@lasso/dataprep\" \"npm run start --workspace=@lasso/client\"",
"test": "npm run test --workspaces --if-present"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"web-vitals": "^3.4.0"
},
"scripts": {
"clean": "rimraf build/ tsconfig.tsbuildinfo",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --watchAll=false --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/dataprep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/papaparse": "^5.3.7"
},
"scripts": {
"clean": "rimraf lib/",
"clean": "rimraf lib/ tsconfig.tsbuildinfo",
"lint": "esw --ext .ts ./src",
"compile": "tsc -b",
"generate:jsonschema": "typescript-json-schema --refs --required --skipLibCheck ./src/types.ts ImportProject --out ./src/json-schema.json",
Expand Down

0 comments on commit e96af65

Please sign in to comment.