-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.38 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
{
"name": "template-solidity",
"version": "1.0.0",
"main": "./dist/cjs/src/index.js",
"types": "./dist/esm/src/index.d.ts",
"module": "./dist/esm/src/index.js",
"author": "npv2k1",
"license": "MIT",
"files": [
"dist",
"artifacts"
],
"exports": {
".": {
"types": "./dist/esm/src/index.d.ts",
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/src/index.js"
}
},
"scripts": {
"build": "npm run clean:build && tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/cjs/src && copyfiles -u 1 \"src/**/*.d.ts\" dist/esm/src",
"clean": "npx hardhat clean",
"clean:build": "rimraf dist/",
"clean:artifacts": "rimraf artifacts/",
"compile:web3": "npx hardhat --config ./hardhat-web3.config.ts compile",
"compile": "npx hardhat compile",
"deploy:local": "npx hardhat run --network development ./scripts/deploy.ts",
"deploy:sepolia": "npx hardhat run --network sepolia ./scripts/deploy.ts",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lin:sol": "solhint 'contracts/**/*.sol' --fix",
"reset": "docker container rm -f eth-node && yarn start",
"start-docker": "docker run --detach --publish 8545:8545 trufflesuite/ganache-cli:latest",
"start-local-tf": "npx ganache-cli --deterministic",
"start-local": "npx hardhat node",
"start": "docker run --name eth-node --detach --publish 8545:8545 trufflesuite/ganache-cli:latest",
"test": "npx hardhat test --network development",
"tf:compile": "npx truffle compile",
"tf:test": "npx truffle test --network development",
"build:all": "npm run clean:artifacts && npm run compile && npm run clean:artifacts && npm run compile:web3 && npm run build && npm run copy-dts"
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@openzeppelin/contracts": "^4.7.0",
"@typechain/web3-v1": "^6.0.1",
"bn.js": "^5.2.1",
"hardhat-typechain": "^0.3.5",
"rimraf": "^5.0.4",
"web3": "^4.0.1",
"web3-core": "^4.0.1",
"web3-eth-contract": "^4.0.1"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-etherscan": "^3.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@openzeppelin/test-helpers": "^0.5.15",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.74",
"@swc/helpers": "^0.5.1",
"@typechain/ethers-v5": "^7.0.1",
"@typechain/hardhat": "^2.3.0",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"@types/node": "^12.0.0",
"@typescript-eslint/eslint-plugin": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"chai": "^4.2.0",
"dotenv": "^10.0.0",
"eslint": "8.20.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"ethereum-waffle": "^3.0.0",
"ethers": "^5.0.0",
"hardhat": "^2.9.3",
"hardhat-gas-reporter": "^1.0.4",
"prettier": "2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.13",
"solhint": "^3.3.6",
"solidity-coverage": "^0.7.16",
"ts-node": "^10.1.0",
"typechain": "^8.1.0",
"typescript": "^4.5.2"
}
}