-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.16 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "erc20-meta-token",
"version": "2.1.0",
"description": "General ERC-1155 Transaction Wrapper Contract for ERC20s",
"repository": "https://github.com/horizon-games/ERC20-meta-wrapper",
"license": "MIT",
"keywords": [
"token",
"ERC20",
"ERC1155",
"MetaTransactions",
"MetaTx",
"ethereum"
],
"files": [
"artifacts",
"contracts",
"typings"
],
"scripts": {
"build": "rm -rf typings/contracts && hardhat clean && yarn compile && yarn gen:typings",
"compile": "hardhat --max-memory 4096 compile",
"clean": "rm -rf build test typings/contracts",
"test": "hardhat --network ganache test ./test/*.spec.ts",
"test:gas-report": "REPORT_GAS=true yarn test ./test/*.spec.ts",
"test:benchmark": "hardhat --network ganache test ./test/*.bench.ts",
"gen:typings": "rm -rf typings/contracts/* && typechain --target ethers-v5 --outDir typings/contracts './artifacts/!(build-info)/**/*[^dbg].json'",
"lint": "yarn lint:ts && yarn lint:sol",
"lint:fix": "yarn lint:ts:fix && yarn lint:sol:fix",
"lint:sol": "solium -d .",
"lint:sol:fix": "solium -d contracts/ --fix",
"lint:ts": "tslint -c tslint.json -p .",
"lint:ts:fix": "tslint -c tslint.json -p . --fix",
"ganache": "ganache-cli --networkId ${npm_package_config_ganacheNetworkID} --port ${npm_package_config_ganachePort} --gasLimit ${npm_package_config_ganacheGasLimit} --gasPrice ${npm_package_config_ganacheGasPrice} --defaultBalanceEther ${npm_package_config_etherBalance} --deterministic --mnemonic \"${npm_package_config_mnemonic}\" ${npm_package_config_extra}",
"ganache:verbose": "ganache-cli --networkId ${npm_package_config_ganacheNetworkID} --verbose --port ${npm_package_config_ganachePort} --gasLimit ${npm_package_config_ganacheGasLimit} --gasPrice ${npm_package_config_ganacheGasPrice} --defaultBalanceEther ${npm_package_config_etherBalance} --deterministic --mnemonic \"${npm_package_config_mnemonic}\" ${npm_package_config_extra}",
"ganache:stop": "ps aux | grep ganache-cli | grep -v grep | awk '{print $2}' | xargs kill -9"
},
"config": {
"mnemonic": "test test test test test test test test test test test junk",
"ganacheNetworkID": 127001,
"ganachePort": 8545,
"ganacheGasLimit": "0xfffffffffff",
"ganacheGasPrice": "20000000000",
"etherBalance": "100000",
"extra": ""
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-truffle5": "^2.0.0",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@typechain/ethers-v5": "^4.0.0",
"@types/chai": "^4.2.11",
"@types/chai-as-promised": "^7.1.3",
"@types/chai-string": "^1.4.2",
"@types/mocha": "^7.0.2",
"@types/node": "^13.13.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-bignumber": "^3.0.0",
"chai-string": "^1.5.0",
"dotenv": "^8.2.0",
"ethers": "^5.0.17",
"ganache-cli": "6.12.1",
"hardhat": "2.0.3",
"hardhat-gas-reporter": "^1.0.1",
"solidity-coverage": "^0.7.11",
"solium": "^1.2.5",
"ts-node": "^8.9.0",
"tslint": "^6.1.2",
"typechain": "^4.0.0",
"typescript": "^3.8.3"
},
"dependencies": {
"multi-token-standard": "2.0.1"
}
}