-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 3.1 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 3.1 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
{
"name": "@castframework/smartcoin",
"version": "1.0.0",
"description": "Stable coin for the CAST framework",
"author": "Société Générale Forge",
"license": "See license in LICENSE",
"private": true,
"engines": {
"node": "16.15"
},
"dependencies": {
"@openzeppelin/contracts": "^4.8.3",
"@openzeppelin/contracts-upgradeable": "4.8.3",
"zod": "^3.23.8"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-toolbox": "~2.0.2",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@openzeppelin/hardhat-upgrades": "^1.26.0",
"@openzeppelin/upgrades-core": "^1.27.1",
"@typechain/ethers-v5": "~10.2.0",
"@types/chai": "~4.3.1",
"@types/mocha": "^10.0.1",
"@types/node": "^20.1.1",
"@types/snap-shot-core": "^10.2.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"chai": "^4.3.7",
"dotenv": "^16.0.3",
"eslint": "^7.11.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "2.25.3",
"ethers": "^5.7.2",
"lint-staged": "^12.1.2",
"mocha": "^8.4.0",
"mocha-junit-reporter": "^2.2.0",
"mocha-multi-reporters": "^1.5.1",
"prettier": "^2.5.1",
"snap-shot-core": "^10.2.4",
"solhint": "3.3.6",
"solhint-plugin-prettier": "0.0.5",
"solidity-docgen": "~0.6.0-beta.35",
"typechain": "8.1.1",
"typescript": "~4.7.4"
},
"scripts": {
"clean": "rm -rf dist/ coverage/ reports/ cache/",
"build:ts": "tsc",
"build": "npx hardhat compile",
"deploy:proxy": "npx hardhat run src/scripts/deploy-upgradable-smartcoin.ts",
"deploy:implementation": "npx hardhat run src/scripts/deploy-smartcoin-implementation.ts",
"lint:sol": "npx solhint contracts/**/*.sol ",
"lint:ts": "eslint --ext ts src/**/*.ts",
"lint": "npm run lint:ts && npm run lint:sol",
"prestats": "npm run build && npm run lint && npm run prettify",
"prettify:sol": "prettier --config ./.prettierrc --write \"{src,contracts}/**/*.sol\"",
"prettify:ts": "prettier --config ./.prettierrc --write \"./src/**/*.ts\"",
"prettify": "npm run prettify:ts && npm run prettify:sol",
"test": "npx hardhat test",
"verify": "npx hardhat verify",
"verify:implem": "npx hardhat verify-implem",
"pre-commit": "lint-staged --verbose",
"coverage:only": "hardhat coverage",
"coverage:check-limit": "node check-coverage-limit.js",
"coverage": "npm run clean && npm run coverage:only && npm run coverage:check-limit",
"generate:implementation-tx-data": "npx hardhat run src/scripts/generate-implementation-deploy-transaction-data.ts",
"generate:proxy-tx-data": "npx hardhat run src/scripts/generate-proxy-deploy-transaction-data.ts",
"ci:implementation-tx-data-summary": "npx ts-node src/scripts/ci-tools/implementation-deploy-summary.ts",
"ci:proxy-tx-data-summary": "npx ts-node src/scripts/ci-tools/proxy-deploy-summary.ts"
},
"lint-staged": {
"*.ts": "eslint --ignore-path .gitignore --max-warnings=0",
"*.sol": "npm run lint:sol"
}
}