-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.json
126 lines (126 loc) · 5.58 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
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
126
{
"name": "synthetix-v3",
"version": "0.0.0",
"private": true,
"description": "Mono Repo with Contracts and JS tooling",
"repository": {
"type": "git",
"url": "git+https://github.com/Synthetixio/synthetix-v3.git"
},
"bugs": {
"url": "https://github.com/Synthetixio/synthetix-v3/issues"
},
"author": "Synthetix",
"license": "MIT",
"homepage": "https://github.com/Synthetixio/synthetix-v3#readme",
"scripts": {
"clean": "yarn workspaces foreach --all --parallel --verbose run clean",
"generate-testable": "CANNON_REGISTRY_PRIORITY=local yarn workspaces foreach --all --verbose run generate-testable",
"build-testable": "CANNON_REGISTRY_PRIORITY=local yarn workspaces foreach --all --topological-dev --verbose run build-testable",
"compile-contracts": "CANNON_REGISTRY_PRIORITY=local yarn workspaces foreach --all --topological-dev --verbose run compile-contracts",
"build:ts": "yarn workspaces foreach --all --topological-dev --verbose run build:ts",
"build": "CANNON_REGISTRY_PRIORITY=local yarn workspaces foreach --all --topological-dev --verbose run build",
"size-contracts": "yarn workspaces foreach --all --verbose run size-contracts",
"storage:dump": "yarn workspaces foreach --all --verbose run storage:dump",
"storage:verify": "yarn workspaces foreach --all --verbose run storage:verify",
"build:contracts": "yarn workspaces foreach --all --topological-dev --verbose run build:contracts",
"check:storage": "yarn workspaces foreach --all --topological-dev --verbose run check:storage",
"test": "CANNON_REGISTRY_PRIORITY=local yarn workspaces foreach --all --parallel --verbose run test",
"coverage": "yarn workspaces foreach --all --verbose run coverage",
"lint:progress": "ESLINT_PROGRESS=true eslint --max-warnings=0 .",
"lint:js": "eslint --max-warnings=0 .",
"lint:js:fix": "eslint --max-warnings=0 --fix .",
"lint:sol": "solhint **/*.sol",
"lint:sol:fix": "solhint --fix **/*.sol",
"pretty:fix": "prettier --write --ignore-unknown '**/*'",
"pretty": "prettier --check --ignore-unknown '**/*'",
"lint:fix": "yarn pretty:fix && yarn lint:js:fix && yarn lint:sol:fix",
"lint": "yarn pretty && yarn lint:js && yarn lint:sol",
"deps": "deps",
"deps:fix": "deps --fix",
"deps:mismatched": "deps-mismatched",
"deps:circular": "deps-circular",
"publish:release": "lerna publish",
"publish:dev": "lerna publish from-package --force-publish --dist-tag dev --no-git-reset",
"version:dev": "lerna version 0.0.0-dev.$(git rev-parse --short HEAD) --no-changelog --no-push --no-git-tag-version --force-publish --allow-branch $(git branch --show-current)",
"publish-contracts": "yarn workspaces foreach --all --verbose run publish-contracts",
"docgen:contracts": "yarn clean && yarn workspaces foreach --all --verbose run docgen && yarn workspace @synthetixio/docgen run docgen:contracts",
"subgraph:codegen": "yarn workspaces foreach --all --verbose run subgraph:codegen",
"subgraph:build": "yarn workspaces foreach --all --verbose run subgraph:build",
"check-staged": "lint-staged",
"copy-storage": "bash -c 'for f in $(find . -name 'storage.new.dump.json'); do cp $f $(dirname $f)/storage.dump.json; git add $(dirname $f)/storage.dump.json; done'",
"changed": "lerna changed --long",
"audit": "yarn npm audit --all --recursive --severity high",
"cannon:hotfix": "yarn up @usecannon/builder@hotfix @usecannon/cli@hotfix hardhat-cannon@hotfix --exact && yarn dedupe",
"cannon:latest": "yarn up @usecannon/builder@latest @usecannon/cli@latest hardhat-cannon@latest --exact && yarn dedupe",
"cannon:alpha": "yarn up @usecannon/builder@alpha @usecannon/cli@alpha hardhat-cannon@alpha --exact && yarn dedupe"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@lerna-lite/changed": "^3.3.0",
"@lerna-lite/cli": "^3.3.0",
"@lerna-lite/exec": "^3.3.0",
"@lerna-lite/publish": "^3.3.0",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@synthetixio/deps": "workspace:*",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@usecannon/cli": "2.18.2",
"eslint": "^9.9.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"globals": "^15.9.0",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"mocha-junit-reporter": "^2.2.1",
"pre-commit": "^1.2.2",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.3.1",
"prettier-plugin-toml": "^2.0.1",
"solhint": "^5.0.3",
"solhint-plugin-meta-transactions": "^0.1.0",
"solhint-plugin-numcast": "^1.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"resolutions": {
"hardhat-gas-reporter/eth-gas-reporter": "git://github.com/dbeal-eth/eth-gas-reporter.git#fix-catch-errors"
},
"pre-commit": [
"check-staged",
"copy-storage"
],
"lint-staged": {
"*.js": [
"yarn prettier --check",
"yarn eslint --max-warnings=0"
],
"*.ts": [
"yarn prettier --check",
"yarn eslint --max-warnings=0"
],
"*.sol": [
"yarn prettier --check",
"yarn solhint"
],
"*.toml": "yarn prettier --check",
"*.yml": "yarn prettier --check",
"*.yaml": "yarn prettier --check",
"*.json": "yarn prettier --check",
"*.md": "yarn prettier --check"
},
"workspaces": [
"utils/**",
"protocol/**",
"markets/**",
"auxiliary/**"
],
"engines": {
"node": "^20.17.0"
},
"packageManager": "[email protected]"
}