-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.74 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
{
"name": "datingscan-protocol",
"version": "0.4.0",
"description": "datingscan smart contracts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"/dist/**/*",
"/dist/*"
],
"author": "0xmad",
"license": "MIT",
"keywords": [
"datingscan",
"ethereum",
"solidity"
],
"scripts": {
"hardhat:goerli": "hardhat run --network goerli",
"hardhat:matic": "hardhat run --network matic",
"hardhat:mumbai": "hardhat run --network mumbai",
"deploy:goerli": "npm run compile && npm run hardhat:goerli -- scripts/deploy.ts",
"deploy:matic": "npm run compile && npm run hardhat:matic -- scripts/deploy.ts",
"deploy:mumbai": "npm run compile && npm run hardhat:mumbai -- scripts/deploy.ts",
"deploy:matic:fork": "FORK=matic hardhat run scripts/deploy.ts",
"deploy:mumbai:fork": "FORK=mumbai hardhat run scripts/deploy.ts",
"test-deploy:hardhat": "hardhat run scripts/deploy.ts",
"contracts-size": "hardhat size-contracts",
"build:package": "rm -rf ./dist && tsc -p tsconfig.build.json && cp types/*.d.ts dist/types && cp -R artifacts dist && cp -R contracts dist",
"ci:test": "npm run compile && npm run test",
"ci:clean": "rm -rf ./artifacts ./cache ./types ./dist",
"compile": "SKIP_LOAD=true TS_NODE_TRANSPILE_ONLY=1 hardhat compile",
"test": "hardhat test ./tests/**/*.test.ts",
"lint": "eslint . --ext=ts,js",
"lint:fix": "npm run lint -- --fix",
"solhint": "solhint 'contracts/**/*.sol'",
"prettier:check": "npm prettier -c 'tests/**/*.ts' 'scripts/**/*.ts'",
"prettier:write": "prettier --write 'tests/**/*.ts' 'scripts/**/*.ts'",
"coverage": "TS_NODE_TRANSPILE_ONLY=1 SKIP_LOAD=true hardhat compile --force && TS_NODE_TRANSPILE_ONLY=1 SKIP_LOAD=true hardhat coverage --network coverage --testfiles \"tests/**/*.test.ts\"",
"tsc": "tsc -p tsconfig.eslint.json",
"githook:precommit": "lint-staged",
"githook:prepush": "npm run tsc && npm run coverage",
"prepare": "is-ci || husky install"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/eslint-parser": "^7.18.9",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@nomiclabs/hardhat-ethers": "^2.1.0",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.3.1",
"@types/lodash": "^4.14.182",
"@types/lowdb": "^1.0.11",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.4",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"chai": "^4.3.6",
"commitizen": "^4.2.5",
"dotenv": "^16.0.1",
"eslint": "^8.21.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"ethereum-waffle": "^3.4.4",
"ethers": "^5.6.9",
"hardhat": "^2.10.1",
"hardhat-abi-exporter": "^2.10.0",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-gas-reporter": "^1.0.8",
"hardhat-storage-layout": "^0.1.6",
"husky": "^8.0.0",
"is-ci": "^3.0.1",
"lint-staged": "^13.0.3",
"lodash": "^4.17.21",
"lowdb": "^1.0.0",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.24",
"pretty-quick": "^3.1.3",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.21",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.7.4"
},
"dependencies": {
"@openzeppelin/contracts": "^4.7.2",
"@openzeppelin/contracts-upgradeable": "^4.7.2"
}
}