-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
102 lines (102 loc) · 3.59 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
{
"name": "@thxnetwork/artifacts",
"version": "4.0.6",
"scripts": {
"prettier": "prettier --write contracts/*.sol contracts/**/*.sol contracts/**/**/*.sol",
"prettier-diff": "prettier --list-different contracts/*.sol contracts/**/*.sol contracts/**/**/*.sol",
"forktest": "/bin/sh .env.bash && npx hardhat node --fork https://eth-goerli.alchemyapi.io/v2/${ALCHEMY_KEY} > /dev/null 2>&1 & sleep 3 && npx hardhat --network fork test test/mainnet/test.js; kill $(lsof -t -i :8545)",
"prepublishOnly": "npm run compile && npm run build && npm run test",
"preversion": "npm run lint",
"version": "npm run format",
"format": "prettier --write contracts/*.sol contracts/**/*.sol contracts/**/**/*.sol",
"lint": "prettier --write contracts/*.sol contracts/**/*.sol contracts/**/**/*.sol",
"build": "npx tsc",
"compile": "npx hardhat compile",
"test": "npx hardhat test"
},
"files": [
"dist/**/*"
],
"types": "dist/exports/index.d.ts",
"prettier": {
"tabWidth": 4,
"singleQuote": true,
"bracketSpacing": true,
"printWidth": 120,
"trailingComma": "all",
"quoteProps": "consistent"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"rules": {
"semi": [
"error",
"always"
],
"quotes": [
"error",
"single"
],
"no-debugger": "off",
"no-sparse-arrays": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/interface-name-prefix": "off"
},
"ignorePatterns": [
"./**/*.d.ts"
]
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-etherscan": "^2.1.1",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "^3.3.0",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.4",
"@types/rimraf": "^3.0.2",
"chai": "^4.3.6",
"diamond-2": "^1.4.0",
"dotenv": "^8.2.0",
"ethers": "^5.0.26",
"hardhat": "^2.9.1",
"hardhat-deploy": "^0.10.5",
"hardhat-gas-reporter": "^1.0.8",
"prettier-plugin-solidity": "^1.0.0-beta.11",
"rimraf": "^3.0.2",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
},
"peerDependencies": {
"web3": "1.x"
},
"description": "Maintainer: [Peter Polman](mailto:[email protected]) - [THX Discord](https://discord.gg/6n6QK8Qk) - [THX Slack](https://thx.page.link/slack)",
"main": "dist/exports/index.js",
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thxprotocol/modules-solidity.git"
},
"author": "Peter Polman",
"license": "ISC",
"bugs": {
"url": "https://github.com/thxprotocol/modules-solidity/issues"
},
"homepage": "https://github.com/thxprotocol/modules-solidity#readme"
}