Skip to content

Commit

Permalink
Simplify build, build:prod, and clean:all scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
halleysfifthinc committed Nov 26, 2024
1 parent 8824ce6 commit 2272700
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions webio_jupyter_extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@
"directory": "webio_jupyter_extension"
},
"scripts": {
"build": "yarn build:lib && yarn build:nbextension && yarn build:labextension:dev",
"build:prod": "yarn run clean && yarn run build:lib && yarn run build:labextension",
"build": "NODE_ENV=development npm-run-all build:lib:dev build:nbextension build:labextension:dev",
"build:prod": "NODE_ENV=production npm-run-all clean:all build:lib build:nbextension build:labextension",
"build:nbextension": "webpack -c webpack.nbextension.js",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc -p . && webpack -c webpack.labextension.js",
"clean": "yarn run clean:lib",
"clean:lib": "rimraf lib dist tsconfig.tsbuildinfo",
"clean:labextension": "rimraf webio_jupyter_extension/labextension",
"clean:all": "yarn run clean:lib && yarn run clean:labextension",
"clean:nbextension": "rimraf webio_jupyter_extension/nbextension",
"clean:all": "npm-run-all clean:lib clean:labextension clean:nbextension",
"eslint": "eslint . --ext .ts,.tsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx",
"install:extension": "yarn run build",
Expand Down

0 comments on commit 2272700

Please sign in to comment.