From d41d275a61df4d3c20c9716be15d9141fb76a7e8 Mon Sep 17 00:00:00 2001 From: Otto G Date: Mon, 10 Feb 2020 10:00:59 +0100 Subject: [PATCH] build(crossplatform): add missing cross-env for cross-compatibility Maximizes cross-platform compatibility for some scripts --- apps/address-book/package.json | 2 +- apps/allocations/package.json | 2 +- apps/dot-voting/package.json | 2 +- apps/projects/package.json | 2 +- apps/rewards/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/address-book/package.json b/apps/address-book/package.json index 10b928645..c9238c204 100644 --- a/apps/address-book/package.json +++ b/apps/address-book/package.json @@ -9,7 +9,7 @@ "compile": "truffle compile", "console": "truffle dev", "copy-public-assets": "rsync -rtu ./public/ ./dist", - "coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test", + "coverage": "cross-env SOLIDITY_COVERAGE=true npm run ganache-cli:test", "frontend": "npm run sync-assets && parcel app/index.html --port 1111", "ganache-cli:test": "sh ../../node_modules/@aragon/test-helpers/ganache-cli.sh", "lint": "solium --dir ./contracts", diff --git a/apps/allocations/package.json b/apps/allocations/package.json index 4479b8e89..1a145cde2 100644 --- a/apps/allocations/package.json +++ b/apps/allocations/package.json @@ -9,7 +9,7 @@ "compile": "truffle compile", "console": "truffle dev", "copy-public-assets": "rsync -rtu ./public/ ./dist", - "coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test", + "coverage": "cross-env SOLIDITY_COVERAGE=true npm run ganache-cli:test", "frontend": "npm run sync-assets && parcel app/index.html --port 2222", "ganache-cli:test": "../shared/test-helpers/ganache-cli.sh", "lint": "solium --dir ./contracts", diff --git a/apps/dot-voting/package.json b/apps/dot-voting/package.json index f03b2764a..9731f8b94 100644 --- a/apps/dot-voting/package.json +++ b/apps/dot-voting/package.json @@ -9,7 +9,7 @@ "compile": "truffle compile", "console": "truffle dev", "copy-public-assets": "rsync -rtu ./public/ ./dist", - "coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test", + "coverage": "cross-env SOLIDITY_COVERAGE=true npm run ganache-cli:test", "frontend": "npm run sync-assets && parcel app/index.html --port 4444", "ganache-cli:test": "sh ../../node_modules/@aragon/test-helpers/ganache-cli.sh", "lint": "solium --dir ./contracts", diff --git a/apps/projects/package.json b/apps/projects/package.json index 1b8442341..5f44080c3 100644 --- a/apps/projects/package.json +++ b/apps/projects/package.json @@ -9,7 +9,7 @@ "compile": "truffle compile", "console": "truffle dev", "copy-public-assets": "rsync -rtu ./public/ ./dist", - "coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test", + "coverage": "cross-env SOLIDITY_COVERAGE=true npm run ganache-cli:test", "frontend": "npm run sync-assets && parcel app/index.html --port 3333", "ganache-cli:test": "./utils/ganache-cli.sh", "ganache-cli:test:orig": "../shared/test-helpers/ganache-cli.sh", diff --git a/apps/rewards/package.json b/apps/rewards/package.json index 04ce827e8..10eebc8d3 100644 --- a/apps/rewards/package.json +++ b/apps/rewards/package.json @@ -9,7 +9,7 @@ "compile": "truffle compile", "console": "truffle dev", "copy-public-assets": "rsync -rtu ./public/ ./dist", - "coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test", + "coverage": "cross-env SOLIDITY_COVERAGE=true npm run ganache-cli:test", "frontend": "npm run sync-assets && parcel app/index.html --port 5555", "ganache-cli:test": "sh ../../node_modules/@aragon/test-helpers/ganache-cli.sh", "lint": "solium --dir ./contracts",