Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

fix: Use yarn for scripts and ensure TAURI_CONFIG_DIR is defined #90

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"dev": "ts-node --project tsconfig.server.json index.ts",
"run:ios": "yarn build && cap copy && cap open ios",
"build": "cross-env NODE_ENV=production webpack",
"build:desktop": "npm run build && tauri build",
"test": "cd .tests && npm run test"
"build:desktop": "yarn build && TAURI_CONFIG_DIR=$(pwd)/src-tauri tauri build",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use cross-env for Windows support

"test": "cd .tests && yarn test"
},
"keywords": [],
"author": "IOTA Foundation <[email protected]>",
Expand Down