forked from ProjectOpenSea/seaport
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
97 lines (97 loc) · 3.91 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
{
"name": "seaport",
"version": "1.1.0",
"description": "Seaport is a marketplace protocol for safely and efficiently buying and selling NFTs. Each listing contains an arbitrary number of items that the offerer is willing to give (the \"offer\") along with an arbitrary number of items that must be received along with their respective receivers (the \"consideration\").",
"main": "contracts/Seaport.sol",
"author": "0age",
"license": "MIT",
"private": false,
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"@ethersproject/experimental": "^5.7.0",
"@openzeppelin/contracts": "^4.8.0",
"ethers": "^5.5.3",
"ethers-eip712": "^0.2.0",
"hardhat": "^2.12.1-ir.0"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@rari-capital/solmate": "^6.2.0",
"@typechain/ethers-v5": "^10.0.0",
"@typechain/hardhat": "^6.0.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"chai": "^4.3.4",
"dotenv": "^16.0.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"ethereum-waffle": "^3.4.0",
"hardhat-gas-reporter": "^1.0.7",
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"scuffed-abi": "^1.0.4",
"solhint": "^3.3.6",
"solidity-coverage": "^0.7.0",
"ts-node": "^10.4.0",
"typechain": "^8.0.0",
"typescript": "^4.5.4"
},
"resolutions": {
"async": ">=2.6.4",
"cross-fetch": ">=3.1.5",
"got": ">=11.8.5",
"lodash": ">=4.17.21",
"node-fetch": ">=2.6.7",
"underscore": ">=1.12.1",
"undici": ">=5.8.2",
"yargs-parser": ">=5.0.1",
"minimist": ">=1.2.6",
"json-schema": ">=0.4.0",
"simple-get": ">=2.8.2",
"tar": ">=4.4.18",
"normalize-url": ">=4.5.1",
"ws": ">=5.2.3",
"path-parse": ">=1.0.7",
"elliptic": ">=6.5.4"
},
"scripts": {
"build": "hardhat compile --config ./hardhat.config.ts",
"build:ref": "hardhat compile --config ./hardhat-reference.config.ts",
"test": "hardhat test --config ./hardhat.config.ts",
"test:ref": "REFERENCE=true hardhat test --config ./hardhat-reference.config.ts",
"profile": "REPORT_GAS=true hardhat test --config ./hardhat.config.ts",
"coverage": "hardhat coverage --config ./hardhat-coverage.config.ts --solcoverjs ./config/.solcover.js",
"coverage:ref": "REFERENCE=true hardhat coverage --config ./hardhat-reference-coverage.config.ts --solcoverjs ./config/.solcover-reference.js",
"lint:check": "yarn lint:check:format && yarn lint:check:solhint && yarn lint:check:eslint",
"lint:check:format": "prettier --check **.{sol,js,ts}",
"lint:check:solhint": "yarn build && solhint --config ./config/.solhint.json --ignore-path ./config/.solhintignore contracts/**/*.sol",
"lint:check:eslint": "eslint . --ext js,ts",
"lint:fix": "yarn lint:fix:format && yarn lint:fix:eslint",
"lint:fix:format": "prettier --write **.{sol,js,ts}",
"lint:fix:eslint": "eslint --fix . --ext js,ts",
"test:forge": "FOUNDRY_PROFILE=reference forge build; FOUNDRY_PROFILE=optimized forge build; FOUNDRY_PROFILE=test forge test -vvv",
"test:forge:lite": "FOUNDRY_PROFILE=reference forge build; FOUNDRY_PROFILE=lite forge test -vvv",
"prepare": "husky install",
"prettier:ts": "node_modules/.bin/prettier --write --config .prettierrc 'test/**/*.ts' 'utils/**/*.ts' 'script/**/*.ts'"
},
"lint-staged": {
"*.sol": "prettier --write",
"*.js": "prettier --write",
"*.ts": "prettier --write"
}
}