-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
56 lines (56 loc) · 2.15 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
{
"name": "@common-resources/crate",
"version": "0.1.4",
"contributors": [
{
"name": "Zodomo",
"email": "[email protected]",
"url": "https://github.com/zodomo"
},
{
"name": "Johannes Krauser III",
"email": "[email protected]",
"url": "https://github.com/0xKrauser"
}
],
"repository": {
"type": "git",
"url": "https://github.com/common-resources/crate.git"
},
"scripts": {
"analyze": "yarn --cwd ./node_modules/4naly3er/ analyze ../../src/contracts && cp ./node_modules/4naly3er/report.md 4naly3e-report.md",
"build": "forge build --sizes",
"check:license": "pipx run reuse lint",
"clean": "rm -rf cache out",
"lint:sol": "solhint src/contracts/**/*.sol --fix",
"lint:ts": "eslint --config ./.eslintrc.json --ignore-path ./.eslintignore --ext .js,.ts . --fix",
"prettier": "prettier --config ./.prettierrc.json --ignore-path ./.prettierignore --write \"**/*.{js,json,md,sol,ts}\"",
"slither": "pipx run --spec slither-analyzer slither . --skip-assembly --include-paths ./src/contracts",
"test": "forge test --gas-report",
"test:coverage": "forge coverage --nmco '.*\\.(t|s)\\.sol$'",
"test:coverage:report": "forge coverage --nmco '.*\\.(t|s)\\.sol$' --report lcov && genhtml lcov.info --branch-coverage --output-dir coverage --rc derive_function_end_line=0"
},
"dependencies": {
"@openzeppelin/contracts": "^5.0.2",
"erc721-lockable": "github:filmakarov/erc721-lockable",
"erc721s": "https://github.com/filmakarov/erc721-lockable",
"forge-std": "github:foundry-rs/forge-std#v1.9.1",
"solady": "github:vectorized/solady",
"token-types": "github:jtriley-eth/token-types"
},
"devDependencies": {
"4naly3er": "Picodes/4naly3er",
"@types/dotenv": "^8.2.0",
"@types/node": "^20.12.11",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.3.0",
"solhint": "^5.0.0",
"solhint-plugin-prettier": "^0.1.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.4"
}
}