Skip to content

Commit

Permalink
add framework for conditionally rendering profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwartz10 authored and chadoh committed Oct 23, 2019
1 parent 5e75347 commit a070e62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"start": "node scripts/start",
"start:local": "node scripts/launch-local",
"start:mainnet": "cross-env ARAGON_ETH_NETWORK_TYPE=main npm start",
"start:with:profiles": "cross-env WITH_PROFILES=true node scripts/start",
"start:rinkeby": "npm start",
"start:staging": "cross-env ARAGON_ENS_REGISTRY_ADDRESS=0xfe03625ea880a8cba336f9b5ad6e15b0a3b5a939 npm start",
"start:ropsten": "cross-env ARAGON_ETH_NETWORK_TYPE=ropsten npm start",
Expand Down
2 changes: 2 additions & 0 deletions src/repo-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ const KNOWN_REPOS = new Set([
export function isKnownRepo(appId) {
return KNOWN_REPOS.has(appId)
}

export const withProfiles = process.env.WITH_PROFILES || false

0 comments on commit a070e62

Please sign in to comment.