-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.88 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
{
"name": "@fixes/contracts",
"version": "1.1.7",
"exports": {
"./contracts/*": "./cadence/contracts/*",
"./transactions/*": "./cadence/transactions/*",
"./transactions-for-evm/*": "./cadence/transactions-for-evm/*",
"./scripts/*": "./cadence/scripts/*",
"./flow.json": "./flow.json"
},
"scripts": {
"dev": "pnpm deploy:emulator && pnpm fund:emulator",
"fund:emulator": "flow flix execute transfer-flow 1000.0 0x01cf0e2f2f715450 --signer=emulator-account",
"lines": "find . \\( -name '*.cdc' -o -name '*.ts' -o -name '*.prisma' -o -name '*.vue' \\) -not -path '*/node_modules/*' -not -path '*/tests/*' -not -path '*/deps/*' -not -path '*/dist/*' -not -path '*/imports*' | xargs wc -l",
"lines:contracts": "find ./cadence/contracts \\( -name '*.cdc' \\) -not -path '*/node_modules/*' -not -path '*/tests/*' -not -path '*/deps/*' -not -path '*/dist/*' | xargs wc -l",
"deploy:emulator": "flow project deploy --update",
"deploy:testnet": "flow project deploy --update --network testnet",
"deploy:mainnet": "flow project deploy --update --network mainnet",
"hb:emulator": "flow transactions send ./cadence/transactions/heartbeats/universal.cdc --signer=emulator-account",
"hb:testnet": "flow transactions send ./cadence/transactions/heartbeats/universal.cdc --signer=testnet-user --network=testnet --gas-limit=9999",
"hb:mainnet": "flow transactions send ./cadence/transactions/heartbeats/universal.cdc --signer=mainnet-user --network=mainnet --gas-limit=9999",
"upgrade-ft:emulator": "flow transactions send ./cadence/transactions/bin/ft/upgrade-fts.cdc --signer=emulator-account",
"upgrade-ft:testnet": "flow transactions send ./cadence/transactions/bin/ft/upgrade-fts.cdc --signer=testnet-admin --network=testnet --gas-limit=9999",
"upgrade-ft:mainnet": "flow transactions send ./cadence/transactions/bin/ft/upgrade-fts.cdc --signer=mainnet-admin --network=mainnet --gas-limit=9999"
}
}