-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
98 lines (98 loc) · 3.4 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
{
"name": "starknet-staking",
"description": "Starknet staking rewards contracts example with L1 messaging features",
"version": "1.0.0",
"author": {
"name": "Pedro Bergamini",
"url": "https://github.com/pedrobergamini"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@ethersproject/abi": "^5.6.4",
"@ethersproject/abstract-signer": "^5.6.2",
"@ethersproject/bignumber": "^5.6.2",
"@ethersproject/bytes": "^5.6.1",
"@ethersproject/providers": "^5.6.8",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.2",
"@nomicfoundation/hardhat-network-helpers": "^1.0.3",
"@nomicfoundation/hardhat-toolbox": "^1.0.2",
"@nomiclabs/hardhat-ethers": "^2.1.0",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@openzeppelin/contracts": "^4.7.3",
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.3.3",
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.5",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"chai": "^4.3.6",
"commitizen": "^4.2.5",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.0.1",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"ethers": "^5.6.9",
"fs-extra": "^10.1.0",
"ganache": "^7.4.3",
"hardhat": "^2.10.1",
"hardhat-gas-reporter": "^1.0.8",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"lodash": "^4.17.21",
"mocha": "^10.0.0",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.24",
"shx": "^0.3.4",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.21",
"ts-generator": "^0.1.1",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.7.4"
},
"files": [
"/contracts"
],
"keywords": [
"blockchain",
"ethers",
"ethereum",
"hardhat",
"starknet",
"cairo",
"smart-contracts",
"solidity",
"typescript"
],
"packageManager": "yarn@3.2.1",
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./coverage.json && yarn typechain",
"commit": "git-cz",
"compile": "yarn compile:l1 && yarn compile:l2",
"compile:l1": "hardhat compile",
"compile:l2": "protostar build",
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
"lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
"lint:ts": "eslint --config ./.eslintrc.yml --ignore-path ./.eslintignore --ext .js,.ts .",
"postinstall": "husky install && DOTENV_CONFIG_PATH=./.env.example yarn typechain",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"prettier": "prettier --config ./.prettierrc.yml --write \"**/*.{js,json,md,sol,ts,yml}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yml \"**/*.{js,json,md,sol,ts,yml}\"",
"test": "hardhat test && protostar test",
"test:l1": "hardhat test",
"test:l2": "protostar test",
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
}
}