Skip to content

Commit

Permalink
get the build to work on npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Charlop-Powers authored and Zachary Charlop-Powers committed Mar 21, 2024
1 parent 63c9c02 commit 888526f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
"build": "rm -rf dist && observable build",
"dev": "observable preview",
"deploy": "observable deploy",
"observable": "observable"
"observable": "observable",
"tauri": "tauri"
},
"dependencies": {
"@observablehq/framework": "latest",
"@tauri-apps/api": "^2.0.0-beta.0",
"@tauri-apps/plugin-dialog": "^2.0.0-beta.0",
"@tauri-apps/plugin-shell": "^2.0.0-beta.0",
"@tauri-apps/api": "^2.0.0-beta.6",
"@tauri-apps/plugin-dialog": "^2.0.0-beta.2",
"@tauri-apps/plugin-shell": "^2.0.0-beta.2",
"d3-dsv": "^3.0.1",
"d3-time-format": "^4.1.0",
"gosling.js": "^0.16.0",
Expand All @@ -24,7 +25,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2.0.0-beta.9",
"@tauri-apps/cli": "^2.0.0-beta.10",
"typescript": "^5.0.2",
"vite": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.3",
"identifier": "com.bioinformatics.toolkit",
"build": {
"beforeDevCommand": "npm run dev --port 1420 --no-open",
"beforeDevCommand": "observable preview --port 1420 --no-open",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
Expand Down

0 comments on commit 888526f

Please sign in to comment.