-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.json
39 lines (39 loc) · 3.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "root",
"private": true,
"scripts": {
"bootstrap": "npx lerna bootstrap && npm run stub-dev-deployments && npm run build",
"stub-dev-deployments": "sh -c \"[ ! -e \"packages/protocol/deployments/all_dev.json\" ] && echo {} > packages/protocol/deployments/all_dev.json || true\"",
"start": "npm run kill-ports && REACT_APP_HARDHAT_FORK=mainnet HARDHAT_FORK=mainnet npx lerna run start --parallel",
"start:no-gasless": "npm run kill-ports && REACT_APP_DISABLE_GASLESS=true REACT_APP_HARDHAT_FORK=mainnet HARDHAT_FORK=mainnet npx lerna run start --parallel",
"start:local": "npm run kill-ports && REACT_APP_HARDHAT_FORK= HARDHAT_FORK= npx lerna run start --parallel",
"start:local:liquidity-mining": "npx lerna run generate-merkle-root:local && REACT_APP_GCLOUD_FUNCTIONS_URL=http://localhost:5001/goldfinch-frontends-dev/us-central1 BACKER_MERKLE_DISTRIBUTOR_INFO_PATH=./blockchain_scripts/merkle/backerMerkleDistributor/merkleDistributorInfo.dev.json BACKER_MERKLE_DIRECT_DISTRIBUTOR_INFO_PATH=./blockchain_scripts/merkle/backerMerkleDirectDistributor/merkleDirectDistributorInfo.dev.json MERKLE_DISTRIBUTOR_INFO_PATH=./blockchain_scripts/merkle/merkleDistributor/merkleDistributorInfo.dev.json MERKLE_DIRECT_DISTRIBUTOR_INFO_PATH=./blockchain_scripts/merkle/merkleDirectDistributor/merkleDirectDistributorInfo.dev.json npm run start:local",
"start:murmuration": "npm run kill-ports && npx lerna run start:murmuration --parallel",
"start:murmuration:liquidity-mining": "npm run kill-ports && npx lerna run generate-merkle-root:murmuration && BACKER_MERKLE_DISTRIBUTOR_INFO_PATH=./blockchain_scripts/merkle/backerMerkleDistributor/merkleDistributorInfo.dev.json BACKER_MERKLE_DIRECT_DISTRIBUTOR_INFO_PATH=./blockchain_scripts/merkle/backerMerkleDirectDistributor/merkleDirectDistributorInfo.dev.json && MERKLE_DISTRIBUTOR_INFO_PATH=./blockchain_scripts/merkle/merkleDistributor/merkleDistributorInfo.dev.json MERKLE_DIRECT_DISTRIBUTOR_INFO_PATH=./blockchain_scripts/merkle/merkleDirectDistributor/merkleDirectDistributorInfo.dev.json npx lerna run start:murmuration:liquidity-mining --parallel",
"kill-ports": "for i in 4000 4001 3000 5001 8545 8080; do lsof -t -i:$i | xargs -r kill; done",
"test": "NODE_OPTIONS=--unhandled-rejections=strict npx lerna run test --stream",
"test:client": "npm run test -- --scope @goldfinch-eng/client",
"test:protocol": "npm run test -- --scope @goldfinch-eng/protocol",
"test:autotasks": "npm run test -- --scope @goldfinch-eng/autotasks",
"lint": "npx lerna run lint --no-bail",
"lint:fix": "npx lerna run lint:fix --no-bail",
"prepare": "husky install",
"build": "npx lerna run build --stream --scope @goldfinch-eng/protocol && npx lerna run build --stream --ignore @goldfinch-eng/protocol",
"pre-push": "npx lerna run pre-push --stream --concurrency 1 --since HEAD --exclude-dependents",
"pre-commit": "npx lerna run pre-commit --stream --concurrency 1 --since HEAD --exclude-dependents"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/experimental-utils": "^5.14.0",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-mocha-no-only": "^1.1.1",
"husky": "^7.0.2",
"lerna": "^4.0.0",
"prettier": "^2.4.0",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"typescript": "^4.4.3"
}
}