Skip to content

Commit

Permalink
Merge pull request #6 from jribbink/jribbink/fix-env-windows
Browse files Browse the repository at this point in the history
Add cross-env to fix environment variables in Windows
  • Loading branch information
chasefleming authored Jun 7, 2023
2 parents 44ff786 + 5fdac77 commit af74d1b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
19 changes: 19 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "NEXT_PUBLIC_FLOW_NETWORK=local next dev",
"dev": "cross-env NEXT_PUBLIC_FLOW_NETWORK=local next dev",
"dev-wait": "npm run dev & wait-on tcp:8888 tcp:8701 tcp:3000",
"dev:local": "concurrently \"npm run flow:emulator\" \"npm run flow:dev-wallet\" \"npm run dev:local:flow\"",
"dev:local:flow": "npm run dev-wait && npm run flow:dev",
"dev:local:deploy": "flow project deploy --network=emulator --update && NEXT_PUBLIC_FLOW_NETWORK=local npm run dev",
"dev:testnet": "NEXT_PUBLIC_FLOW_NETWORK=testnet npm run dev",
"dev:testnet:deploy": "flow project deploy --network=testnet --update && NEXT_PUBLIC_FLOW_NETWORK=testnet npm run dev",
"dev:local:deploy": "flow project deploy --network=emulator --update && cross-env NEXT_PUBLIC_FLOW_NETWORK=local npm run dev",
"dev:testnet": "cross-env NEXT_PUBLIC_FLOW_NETWORK=testnet npm run dev",
"dev:testnet:deploy": "flow project deploy --network=testnet --update && cross-env NEXT_PUBLIC_FLOW_NETWORK=testnet npm run dev",
"dev:testnet:update": "flow project deploy --network=testnet --update --show-diff",
"dev:mainnet": "NEXT_PUBLIC_FLOW_NETWORK=mainnet npm run dev",
"dev:mainnet": "cross-env NEXT_PUBLIC_FLOW_NETWORK=mainnet npm run dev",
"flow:dev": "flow dev",
"flow:emulator": "flow emulator",
"flow:dev-wallet": "flow dev-wallet",
Expand All @@ -30,6 +30,7 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"concurrently": "^8.0.1",
"cross-env": "^7.0.3",
"eslint": "8.26.0",
"eslint-config-next": "13.0.0",
"jest": "^29.3.1",
Expand Down

0 comments on commit af74d1b

Please sign in to comment.