-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
105 lines (105 loc) · 3.99 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
{
"name": "@vechain/vebetterdao-contracts",
"version": "4.1.0",
"description": "Vebetter DAO smart contracts, including their addresses, ABIs, and interfaces.",
"keywords": [
"vechain",
"vebetterdao",
"dao",
"smart-contracts"
],
"author": "@vechain/b3tr",
"private": false,
"homepage": "https://github.com/vechain/vebetterdao-contracts",
"repository": {
"type": "git",
"url": "git+https://github.com/vechain/vebetterdao-contracts.git"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"license": "MIT",
"files": [
"dist",
"package.json",
"README.md",
"LICENSE",
"contracts",
"artifacts/contracts",
"artifacts/@openzeppelin"
],
"scripts": {
"build": "npx hardhat typechain && tsup index.ts --format esm,cjs --dts",
"prepublishOnly": "yarn build",
"check-or-generate-local-config": "ts-node ./config/scripts/generateMockLocalConfig.ts",
"compile": "yarn check-or-generate-local-config && npx hardhat compile",
"test:thor-solo": "yarn check-or-generate-local-config && yarn start-solo && dotenv -v NEXT_PUBLIC_APP_ENV=local -e .env.example -- npx hardhat test",
"test:hardhat": "yarn check-or-generate-local-config && dotenv -v NEXT_PUBLIC_APP_ENV=local -e .env.example -- hardhat test --network hardhat",
"test:coverage:solidity": "yarn check-or-generate-local-config && dotenv -v NEXT_PUBLIC_APP_ENV=local -v IS_TEST_COVERAGE=true -e .env.example -- hardhat coverage",
"coverage:report": "nyc report --reporter=lcov --reporter=text --reporter=html --temp-dir=./coverage",
"deploy": "yarn check-or-generate-local-config && yarn start-solo && dotenv -v NEXT_PUBLIC_APP_ENV=local -e .env.example -- npx hardhat run scripts/checkContractsDeployment.ts",
"deploy:hardhat": "dotenv -v NEXT_PUBLIC_APP_ENV=local -e .env.example -- npx hardhat run scripts/deploy --network hardhat",
"deploy:simulation": "export RUN_SIMULATION=true; yarn deploy",
"start-solo": "make solo-up",
"stop-solo": "make solo-down",
"clean": "rm -rf dist artifacts typechain-types cache node_modules",
"lint": "eslint . --ext .ts",
"format": "eslint . --ext .ts --fix",
"generate-docs": "npx hardhat docgen"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.2",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
"@nomicfoundation/hardhat-toolbox": "^3.0.0",
"@nomicfoundation/hardhat-verify": "^1.1.1",
"@nomiclabs/hardhat-etherscan": "^3.0.0",
"@nomiclabs/hardhat-truffle5": "^2.0.7",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/upgrades-core": "^1.32.5",
"@typechain/ethers-v6": "^0.4.3",
"@typechain/hardhat": "^8.0.0",
"@types/chai": "^4.2.0",
"@types/mocha": ">=9.1.0",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@vechain/hardhat-ethers": "^0.1.4",
"@vechain/hardhat-vechain": "^0.1.4",
"@vechain/sdk-network": "1.0.0-beta.5",
"@vechain/sdk-wallet": "^1.0.0-beta.3",
"@vechain/web3-providers-connex": "^1.1.2",
"archiver": "^7.0.1",
"chai": "^4.2.0",
"dotenv": "^16.3.1",
"dotenv-cli": "^7.4.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"ethers": "^6.9.0",
"hardhat": "^2.22.6",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^1.0.8",
"hardhat-ignore-warnings": "^0.2.11",
"prettier": "^3.2.4",
"solidity-coverage": "^0.8.11",
"solidity-docgen": "^0.6.0-beta.36",
"ts-node": ">=8.0.0",
"tsup": "^8.1.0",
"typechain": "^8.1.0",
"typescript": ">=4.5.0",
"nyc": "^17.1.0"
},
"dependencies": {
"@openzeppelin/contracts": "5.0.2",
"@openzeppelin/contracts-upgradeable": "5.0.2",
"ethers": "^6.9.0"
},
"resolutions": {
"elliptic": "^6.6.0",
"ws": "^8.17.1",
"axios": "^1.7.4",
"tough-cookie": "^4.1.3",
"cookie": "^0.7.0",
"yargs-parser": "^5.0.1",
"tar": "^6.2.1"
}
}