Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4.2 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 4.2 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
{
"name": "openzeppelin-solidity",
"description": "Secure Smart Contract library for Solidity",
"version": "5.7.0",
"private": true,
"files": [
"/contracts/**/*.sol",
"!/contracts/mocks/**/*"
],
"scripts": {
"compile": "hardhat build",
"compile:harnesses": "env SRC=./fv/harnesses hardhat build --noExpose",
"docs": "npm run prepare-docs && oz-docs",
"docs:watch": "oz-docs watch contracts docs/templates docs/config.mjs",
"prepare": "husky",
"prepare-docs": "scripts/prepare-docs.sh",
"lint": "npm run lint:js && npm run lint:sol",
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
"lint:js": "npm run prettier -- '**/*.{js,ts}' --check && eslint .",
"lint:js:fix": "npm run prettier -- '**/*.{js,ts}' --write && eslint . --fix",
"lint:sol": "npm run prettier -- '{contracts,test}/**/*.sol' --check && npm run solhint -- '{contracts,test}/**/*.sol'",
"lint:sol:fix": "npm run prettier -- '{contracts,test}/**/*.sol' --write && npm run solhint -- '{contracts,test}/**/*.sol' --fix",
"prettier": "prettier --log-level warn --ignore-path .gitignore",
"solhint": "solhint --config solhint.config.cjs --noPoster --noPrompt --disc",
"clean": "hardhat clean && rimraf build contracts/build",
"prepack": "scripts/prepack.sh",
"generate": "scripts/generate/run.js",
"pragma": "hardhat build --noExpose && scripts/minimize-pragma.js artifacts/build-info/*",
"version": "scripts/release/version.sh",
"test": "hardhat test",
"test:generation": "scripts/checks/generation.sh",
"test:inheritance": "hardhat build --noExpose && scripts/checks/inheritance-ordering.js artifacts/build-info/*.output.json",
"test:pragma": "hardhat build --noExpose && scripts/checks/pragma-validity.js artifacts/build-info/*.output.json",
"coverage": "hardhat test --coverage",
"gas-report": "hardhat test --gas-stats",
"slither": "npm run clean && slither ."
},
"repository": {
"type": "git",
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts.git"
},
"keywords": [
"solidity",
"ethereum",
"smart",
"contracts",
"security",
"zeppelin"
],
"author": "OpenZeppelin Community <maintainers@openzeppelin.org>",
"license": "MIT",
"bugs": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues"
},
"homepage": "https://openzeppelin.com/contracts/",
"engines": {
"node": "^22.12 || ^24 || >=26"
},
"devDependencies": {
"@changesets/changelog-github": "^1.0.0",
"@changesets/cli": "^3.0.0",
"@changesets/pre": "^3.0.0",
"@changesets/read": "^1.0.0",
"@eslint/compat": "^1.2.1",
"@ethereumjs/mpt": "^10.1.0",
"@noble/curves": "^2.0.1",
"@nomicfoundation/hardhat-ethers": "^4.0.14",
"@nomicfoundation/hardhat-ethers-chai-matchers": "^3.0.11",
"@nomicfoundation/hardhat-mocha": "^4.0.0",
"@nomicfoundation/hardhat-network-helpers": "^3.0.11",
"@openzeppelin/docs-utils": "^0.1.6",
"@openzeppelin/merkle-tree": "^1.0.7",
"@openzeppelin/upgrade-safe-transpiler": "^0.4.2",
"@openzeppelin/upgrades-core": "^1.20.6",
"@types/node": "^25.9.4",
"@types/yargs": "^17.0.35",
"chai": "^5.3.3",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-mocha": "^11.3.0",
"eta": "^4.6.0",
"ethers": "^6.16.0",
"glob": "^14.0.0",
"globals": "^17.0.0",
"graphlib": "^2.1.8",
"handlebars": "^4.7.9",
"hardhat": "^3.9.1",
"hardhat-ignore-warnings": "^0.3.0",
"hardhat-predeploy": "^1.0.1",
"husky": "^9.1.7",
"interoperable-addresses": "^0.1.3",
"lint-staged": "^17.0.0",
"lodash.startcase": "^4.4.0",
"micromatch": "^4.0.2",
"p-limit": "^7.0.0",
"prettier": "^3.0.0",
"prettier-plugin-solidity": "^2.0.0",
"rimraf": "^6.0.0",
"semver": "^7.3.5",
"solhint": "^6.2.3",
"solhint-plugin-openzeppelin": "file:scripts/solhint-custom",
"solidity-ast": "^0.4.61",
"undici": "^8.2.0",
"yargs": "^18.0.0"
},
"lint-staged": {
"**/*.{js,ts}": [
"npm run prettier -- --check",
"eslint"
],
"{contracts,test}/**/*.sol": [
"npm run prettier -- --check",
"npm run solhint --"
]
},
"type": "module"
}