-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
61 lines (61 loc) · 1.93 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
{
"name": "@defi-wonderland/smock-foundry",
"version": "1.5.0",
"description": "Smock-style mocks for Foundry projects",
"homepage": "https://github.com/defi-wonderland/smock-foundry#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/defi-wonderland/smock-foundry.git"
},
"license": "MIT",
"author": "Wonderland",
"main": "dist/run.js",
"types": "dist/run.d.ts",
"bin": "dist/run.js",
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json && node copy-templates.js",
"lint:check": "yarn lint:ts-logic && forge fmt --check",
"lint:fix": "sort-package-json && forge fmt && yarn lint:ts-logic --fix",
"lint:ts-logic": "eslint ./src/**/*.ts",
"smock-test": "node dist/run.js --contracts solidity --mocks solidity/test/smock --ignore solidity/test",
"test": "forge build --skip test && cross-env mocha 'test/**/*.spec.ts' && yarn smock-test && forge test",
"test:mocha": "cross-env mocha 'test/**/*.spec.ts'"
},
"lint-staged": {
"*.{js,css,md,ts,sol}": "forge fmt",
"*.ts": "eslint ./src/**/*.ts",
"package.json": "sort-package-json"
},
"dependencies": {
"fast-glob": "3.3.2",
"handlebars": "4.7.7",
"solc-typed-ast": "18.1.3",
"yargs": "17.7.2"
},
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "7.1.5",
"@types/fs-extra": "11.0.1",
"@types/mocha": "10.0.1",
"@types/node": "20.2.3",
"@types/yargs": "17.0.24",
"@typescript-eslint/eslint-plugin": "5.59.6",
"@typescript-eslint/parser": "5.59.6",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"cross-env": "7.0.3",
"eslint": "8.40.0",
"husky": "8.0.3",
"lint-staged": "10",
"mocha": "10.2.0",
"prettier": "3.0.3",
"sort-package-json": "2.4.1",
"ts-node": "10.9.1",
"typescript": "5.0.4"
}
}