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

Default clean script to clean the lab extension #220

Merged
merged 2 commits into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@
"jupyter-releaser": {
"hooks": {
"before-build-npm": [
"jlpm",
"jlpm run build:prod"
"jlpm clean",
"jlpm build:prod"
],
"before-build-python": [
"jlpm clean"
],
"before-bump-version": "python -m pip install bump2version"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/lab-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc",
"build:prod": "jlpm run build:lib && jlpm run build:labextension",
"clean": "jlpm run clean:lib",
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension",
"clean": "jlpm run clean:lib && jlpm run clean:labextension",
"clean:labextension": "rimraf ../../retrolab/labextension",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"watch": "run-p watch:src watch:labextension",
Expand Down