-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
114 lines (114 loc) · 5.06 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "uns",
"version": "0.9.40",
"description": "UNS contracts and tools",
"repository": "https://github.com/unstoppabledomains/uns.git",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"private": true,
"scripts": {
"compile": "hardhat compile --force;",
"build:package": "yarn compile; rm -Rf dist/*; tsc --project tsconfig.build.json",
"build:ci": "yarn build:package && yarn rebuild:sandbox && yarn copy:assets",
"copy:assets": "mkdir -p dist/sandbox/foundry/bin; cp sandbox/foundry/bin/.gitkeep dist/sandbox/foundry/bin/.gitkeep; cp sandbox/state.json dist/sandbox/; cp sandbox/foundry/foundryup.sh dist/sandbox/foundry; cp uns-config.json dist/; cp ens-config.json dist/;",
"compile:size": "env ENABLE_CONTRACT_SIZER=true yarn compile",
"coverage": "hardhat coverage",
"test": "yarn test:sol && yarn test:sandbox",
"test:sol": "hardhat test --typecheck",
"test:sandbox": "env HARDHAT_NETWORK=sandbox mocha --timeout 100000 --require ts-node/register --exit ./sandbox/**/*.test.ts",
"rebuild:sandbox": "env HARDHAT_NETWORK=sandbox DEBUG='UNS:*' ts-node --files ./sandbox/rebuild.ts",
"lint": "yarn lint:ts && yarn lint:sol",
"lint:fix": "yarn lint:ts:fix && yarn lint:sol:fix",
"lint:ts": "eslint --ignore-path .gitignore .",
"lint:ts:fix": "yarn prettier:ts:fix && eslint --ignore-path .gitignore . --fix",
"prettier:ts:check": "prettier --check --config ./.prettierrc --ignore-path ./.prettierignore \"./**/*.ts\"",
"prettier:ts:fix": "prettier --write -l --config ./.prettierrc --ignore-path ./.prettierignore \"./**/*.ts\"",
"lint:sol": "solhint 'contracts/**/*.sol' && prettier -c 'contracts/**/*.sol'",
"lint:sol:fix": "prettier --write \"contracts/**/*.sol\"",
"deploy:localhost": "hardhat run --network localhost scripts/deploy.ts",
"deploy:sepolia": "hardhat run --network sepolia scripts/deploy.ts",
"deploy:mainnet": "hardhat run --network mainnet scripts/deploy_UNS.ts",
"deploy:amoy": "hardhat run --network amoy scripts/deploy.ts",
"upgrade:localhost": "hardhat run --network localhost scripts/upgrade.ts",
"upgrade:sepolia": "hardhat run --network sepolia scripts/upgrade.ts",
"upgrade:mainnet": "hardhat run --network mainnet scripts/upgrade.ts",
"start:node": "hardhat node",
"gas-report": "env ENABLE_GAS_REPORT=true yarn test:sol",
"make:uml": "npx sol2uml ./contracts -b UNSRegistry,MintingManager,ProxyReader -o ./assets/uns.svg -i ./contracts/mocks",
"analyze": "slither . --hardhat-artifacts-directory ./.artifacts --sarif slither.sarif --config-file .slither.json",
"postinstall": "[ ! -d ./.git ] || yarn husky install"
},
"devDependencies": {
"@ensdomains/ens-contracts": "^0.0.21",
"@eth-optimism/contracts-ts": "^0.17.2",
"@ethereumjs/tx": "^4.0.1",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.6",
"@nomicfoundation/hardhat-ethers": "^3.0.0",
"@nomicfoundation/hardhat-verify": "^1.1.0",
"@nomiclabs/hardhat-solhint": "^3.0.1",
"@opensea/seaport-js": "^4.0.0",
"@openzeppelin/contracts-upgradeable": "^4.7.3",
"@openzeppelin/defender-sdk-proposal-client": "^1.15.2",
"@openzeppelin/hardhat-upgrades": "^2.0.0",
"@openzeppelin/upgrades-core": "^1.32.5",
"@safe-global/protocol-kit": "^4.0.3",
"@typechain/ethers-v6": "^0.5.0",
"@typechain/hardhat": "^9.1.0",
"@types/bip39": "^3.0.0",
"@types/chai": "^4.3.3",
"@types/debug": "^4.1.7",
"@types/hdkey": "^2.0.1",
"@types/keccak": "^3.0.1",
"@types/lodash.merge": "^4.6.7",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.6",
"@types/tar": "^6.1.2",
"@types/yargs": "^17.0.13",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@zilliqa-js/crypto": "^3.4.4",
"chai": "^4.3.6",
"csv-parse": "^5.4.0",
"debug": "^4.3.1",
"dot-crypto": "https://github.com/unstoppabledomains/dot-crypto.git#v2.0.1",
"eslint": "^8.26.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha-no-only": "^1.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"ethereumjs-block": "^1.7.1",
"ethereumjs-common": "^1.5.2",
"ethereumjs-tx": "^1.3.7",
"ethereumjs-util": "^7.1.0",
"hardhat": "~2.20.0",
"hardhat-abi-exporter": "^2.2.1",
"hardhat-contract-sizer": "~2.6.0",
"hardhat-gas-reporter": "^2.1.1",
"hardhat-tracer": "^2.8.1",
"husky": "^8.0.1",
"lodash.merge": "^4.6.2",
"merkle-patricia-tree": "^4.0.0",
"mocha": "^10.0.0",
"prettier": "^2.3.0",
"prettier-plugin-solidity": "^1.3.1",
"seaport-core": "1.6.4",
"seaport-types": "1.6.3",
"solhint": "^3.3.7",
"solidity-coverage": "^0.8.4",
"tar": "^6.1.9",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typechain": "^8.3.2",
"typescript": "^4.7.4",
"yargs": "^17.6.0"
},
"dependencies": {
"@ensdomains/address-encoder": "^0.2.22",
"bip39": "^3.0.0",
"bip44-constants": "^243.0.0",
"ethers": "^6.11.1",
"hdkey": "^2.0.1",
"web3": "^1.7.4"
},
"packageManager": "[email protected]"
}