forked from Synthetixio/synthetix-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 4.31 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
{
"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 --topological-dev --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": "CANNON_REGISTRY_PRIORITY=local yarn workspaces foreach --all --topological-dev --verbose run build",
"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 utils/*/contracts/**/*.sol protocol/*/contracts/**/*.sol markets/*/contracts/**/*.sol",
"lint:sol:fix": "solhint --fix utils/*/contracts/**/*.sol protocol/*/contracts/**/*.sol markets/*/contracts/**/*.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",
"version": "yarn install && git stage yarn.lock",
"cannon:setup": "cannon setup",
"publish:release": "lerna publish --force-publish",
"publish:dev": "lerna publish --force-publish --canary --dist-tag dev --preid dev.$(git rev-parse --short HEAD)",
"publish-contracts": "yarn workspaces foreach --all --verbose run publish-contracts",
"prepublishOnly": "node ./prepublishOnly.js",
"docgen:contracts": "yarn workspaces foreach --all --verbose run docgen && yarn workspace @synthetixio/docgen run docgen:contracts",
"docgen:abis": "yarn workspace @synthetixio/docgen run docgen:abis",
"subgraphgen": "yarn workspaces foreach --all --verbose run subgraphgen",
"check-staged": "lint-staged"
},
"devDependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@lerna-lite/cli": "^2.6.0",
"@lerna-lite/exec": "^2.6.0",
"@lerna-lite/publish": "^2.6.0",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@synthetixio/deps": "workspace:*",
"@types/mocha": "^10.0.3",
"@types/node": "^18.18.8",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@usecannon/cli": "^2.9.3",
"eslint": "^8.52.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"lint-staged": "^15.0.2",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
"pre-commit": "^1.2.2",
"prettier": "^3.0.3",
"prettier-plugin-solidity": "^1.1.3",
"prettier-plugin-toml": "^1.0.0",
"solhint": "^4.0.0",
"solhint-plugin-meta-transactions": "^0.1.0",
"solhint-plugin-numcast": "^1.0.0",
"typescript": "^5.2.2"
},
"resolutions": {
"hardhat-gas-reporter/eth-gas-reporter": "git://github.com/dbeal-eth/eth-gas-reporter.git#fix-catch-errors"
},
"pre-commit": [
"check-staged"
],
"lint-staged": {
"*.js": [
"prettier --check",
"eslint --max-warnings=0"
],
"*.ts": [
"prettier --check",
"eslint --max-warnings=0"
],
"*.sol": [
"prettier --check",
"solhint"
],
"*.toml": "prettier --check",
"*.yml": "prettier --check",
"*.yaml": "prettier --check",
"*.json": "prettier --check",
"*.md": "prettier --check"
},
"workspaces": [
"utils/**",
"protocol/**",
"markets/**"
],
"engines": {
"node": "^18.16.0"
},
"packageManager": "[email protected]"
}