-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 5.22 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 5.22 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@ultrachess/contracts",
"version": "1.0.2",
"description": "Ultrachess Smart Contracts",
"repository": {
"type": "git",
"url": "git+https://github.com/Ultrachess/contracts.git"
},
"homepage": "https://github.com/Ultrachess/contracts",
"bugs": {
"url": "https://github.com/Ultrachess/contracts/issues"
},
"author": "Ultrachess Team",
"license": "Apache-2.0",
"main": "./dist/src/types/index.js",
"types": "./dist/src/types/index.d.ts",
"files": [
"contracts",
"deployments/*/*.json",
"deployments/*/.chainid",
"dist/deploy/*.js",
"dist/src/types",
"export"
],
"keywords": [
"defi",
"nft"
],
"scripts": {
"audit-ci": "audit-ci --config audit-ci.json",
"build": "run-s compile typescript",
"clean": "rimraf artifacts cache contracts/bytecode contracts/depends contracts/interfaces deployments/hardhat deployments/localhost dist node_modules src/abi src/types tools/repos",
"compile": "hardhat compile",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/src",
"depends": "bash tools/build-depends.sh",
"deploy": "run-s deploy:development",
"deploy:arbitrum_goerli": "hardhat deploy --network arbitrum_goerli --export export/abi/arbitrum_goerli.json",
"deploy:development": "hardhat deploy --network hardhat",
"deploy:goerli": "hardhat deploy --network goerli --export export/abi/goerli.json",
"deploy:localhost": "hardhat deploy --network localhost",
"deploy:mainnet": "hardhat deploy --network mainnet --export export/abi/mainnet.json",
"deploy:optimism_goerli": "hardhat deploy --network optimism_goerli --export export/abi/optimism_goerli.json",
"deploy:polygon_mumbai": "hardhat deploy --network polygon_mumbai --export export/abi/polygon_mumbai.json",
"deploy:testnet": "run-s deploy:goerli",
"eslint": "eslint .",
"export": "hardhat export-artifacts export/artifacts --hide-sources --including-empty-bytecode --including-no-public-functions",
"format": "prettier --write . && eslint --fix .",
"info": "npm-scripts-info",
"lint": "run-s lint-app lint-chain",
"lint-app": "run-s prettier eslint",
"lint-chain": "run-s solhint slither",
"package": "run-s depends build copy-dts export",
"prettier": "prettier --check .",
"slither": "slither .",
"solhint": "solhint 'contracts/src/**/*.sol' 'contracts/test/**/*.sol' --max-warnings 0",
"start": "hardhat node",
"test": "hardhat test",
"typescript": "tsc"
},
"devDependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ganache/console.log": "^0.4.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.1",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@nomiclabs/hardhat-waffle": "^2.0.6",
"@openzeppelin/contracts": "^4.9.3",
"@trufflesuite/uws-js-unofficial": "^20.10.0-unofficial.2",
"@typechain/ethers-v5": "^11.1.1",
"@typechain/hardhat": "^8.0.3",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.10",
"@types/sinon-chai": "^3.2.9",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"@uniswap/v3-core": "^1.0.1",
"audit-ci": "^6.6.1",
"base64-sol": "^1.1.0",
"bignumber.js": "^9.1.1",
"chai": "^4.3.7",
"copyfiles": "^2.4.1",
"eslint": "^8.47.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"ethereum-waffle": "^4.0.10",
"ethers": "^5.7.2",
"hardhat": "^2.17.1",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-deploy": "^0.11.34",
"hardhat-deploy-ethers": "^0.4.1",
"hardhat-gas-reporter": "^1.0.9",
"npm-run-all": "^4.1.5",
"npm-scripts-info": "^0.3.9",
"prettier": "^2.8.8",
"prettier-plugin-pkg": "^0.17.1",
"prettier-plugin-solidity": "^1.1.3",
"rimraf": "^5.0.1",
"solhint": "^3.6.1",
"solhint-plugin-prettier": "^0.0.5",
"ts-generator": "^0.1.1",
"ts-node": "^10.9.1",
"typechain": "^8.3.1",
"typescript": "^5.1.6"
},
"scripts-info": {
"build": "Build contract, generate TypeChain code and compile with Typescript",
"copy-dts": "Copy TypeChain type definition files to typescript output dir",
"clean": "Clean build artifacts, including contracts local deployment information",
"deploy": "Deploy contracts to local node. Requires node running on localhost:8545",
"deploy:testnet": "Deploy contracts to all supported testnets. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:development": "Deploy contracts to local node. Requires node running on localhost:8545",
"deploy:goerli": "Deploy contracts to goerli. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:mainnet": "Deploy contracts to mainnet.",
"deploy:polygon_mumbai": "Deploy contracts to polygon_mumbai.",
"deploy:arbitrum_goerli": "Deploy contracts to arbitrum_goerli.",
"deploy:optimism_goerli": "Deploy contracts to optimism_goerli.",
"export": "Export artifacts in a simpler format",
"info": "Displays information about the scripts.",
"test": "Run unit tests",
"start": "Start a hardhat development node"
}
}