Skip to content

Commit

Permalink
Simplify the assets dev command
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Feb 1, 2024
1 parent eadeac5 commit 84d684d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/data_table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "esbuild main.js --bundle --minify --outfile=../../lib/assets/data_table/build/main.js --format=esm --loader:.js=jsx",
"dev": "esbuild main.js --bundle --minify --outfile=../../lib/assets/data_table/build/main.js --format=esm --loader:.js=jsx --watch"
"dev": "npm run build -- --watch"
},
"dependencies": {
"@glideapps/glide-data-grid": "^5.3.2",
Expand Down
2 changes: 1 addition & 1 deletion assets/debug_default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "esbuild main.js --bundle --minify --outfile=../../lib/assets/debug_default/build/main.js --format=esm --loader:.js=jsx",
"dev": "esbuild main.js --bundle --minify --outfile=../../lib/assets/debug_default/build/main.js --format=esm --loader:.js=jsx --watch"
"dev": "npm run build -- --watch"
},
"dependencies": {
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion assets/debug_pipeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "esbuild main.js --bundle --minify --outfile=../../lib/assets/debug_pipeline/build/main.js --format=esm --loader:.js=jsx",
"dev": "esbuild main.js --bundle --minify --outfile=../../lib/assets/debug_pipeline/build/main.js --format=esm --loader:.js=jsx --watch"
"dev": "npm run build -- --watch"
},
"dependencies": {
"@dnd-kit/core": "^6.0.8",
Expand Down
2 changes: 1 addition & 1 deletion assets/mermaid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "esbuild main.js --bundle --minify --outfile=../../lib/assets/mermaid/build/main.js --format=esm --loader:.js=jsx",
"dev": "esbuild main.js --bundle --minify --outfile=../../lib/assets/mermaid/build/main.js --format=esm --loader:.js=jsx --watch"
"dev": "npm run build -- --watch"
},
"dependencies": {
"mermaid": "^10.4.0"
Expand Down
2 changes: 1 addition & 1 deletion assets/remote_execution_cell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "esbuild main.js --bundle --minify --outfile=../../lib/assets/remote_execution_cell/build/main.js --format=esm --loader:.js=jsx",
"dev": "esbuild main.js --bundle --minify --outfile=../../lib/assets/remote_execution_cell/build/main.js --format=esm --loader:.js=jsx --watch"
"dev": "npm run build -- --watch"
},
"dependencies": {
"vue": "^3.4.15"
Expand Down
2 changes: 1 addition & 1 deletion assets/tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "esbuild main.js --bundle --minify --outfile=../../lib/assets/tree/build/main.js --format=esm --loader:.js=jsx",
"dev": "esbuild main.js --bundle --minify --outfile=../../lib/assets/tree/build/main.js --format=esm --loader:.js=jsx --watch"
"dev": "npm run build -- --watch"
},
"dependencies": {
"react": "^18.2.0",
Expand Down

0 comments on commit 84d684d

Please sign in to comment.