-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
115 lines (115 loc) · 5.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
110
111
112
113
114
115
{
"name": "sovryn-zero",
"private": true,
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/web3-eth-abi/@ethersproject/abi",
"**/@graphprotocol/*",
"**/jest*",
"**/@babel/*",
"**/babel*",
"**/react-scripts",
"**/typechain",
"**/@typechain/*",
"@typechain/*"
]
},
"release": {
"extends": "semantic-release-monorepo",
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
"preset": "angular",
"parserOpts": {
"headerPattern": "^(\\w*)(?:\\((.*)\\))?!?: (.*)$"
}
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"scripts": {
"build": "run-s build:*",
"build:dev-frontend": "yarn workspace @sovryn-zero/dev-frontend build",
"deploy": "yarn workspace @sovryn-zero/lib-ethers hardhat deploy",
"docs": "run-s docs:*",
"docs:collect-sdk-apis": "node scripts/collect-sdk-apis.js",
"docs:api-documenter": "api-documenter generate -i temp/sdk-apis -o docs/sdk",
"fuzzer": "yarn workspace @sovryn-zero/fuzzer fuzzer",
"prepare": "run-s prepare:* && husky install",
"do-release": "run-s do-release:*",
"do-pack": "echo 'creates .tgz packages for manual verification in corresponding package folders' && run-s do-pack:*",
"prepare:contracts": "yarn workspace @sovryn-zero/contracts prepare",
"prepare:sdk-contracts": "yarn workspace @sovryn-zero/sdk-contracts prepare",
"prepare:lib-base": "yarn workspace @sovryn-zero/lib-base prepare",
"prepare:lib-ethers": "yarn workspace @sovryn-zero/lib-ethers prepare",
"prepare:lib-react": "yarn workspace @sovryn-zero/lib-react prepare",
"prepare:providers": "yarn workspace @sovryn-zero/providers prepare",
"prepare:docs": "run-s docs",
"rebuild": "run-s prepare build",
"release": "run-s release:*",
"release:delete-dev-deployments": "yarn workspace @sovryn-zero/lib-ethers delete-dev-deployments",
"release:lib-base": "yarn workspace @sovryn-zero/lib-base semantic-release",
"release:lib-ethers": "yarn workspace @sovryn-zero/lib-ethers semantic-release",
"release:contracts": "echo currently manual publishing: do-release:contracts; TODO: yarn workspace @sovryn-zero/contracts semantic-release",
"release:sdk-contracts": "echo currently manual publishing: do-release:sdk-contracts; TODO: yarn workspace @sovryn-zero/sdk-contracts semantic-release",
"do-release:contracts": "yarn workspace @sovryn-zero/contracts do-publish",
"do-release:sdk-contracts": "yarn workspace @sovryn-zero/sdk-contracts do-publish",
"do-pack:contracts": "yarn workspace @sovryn-zero/contracts do-pack",
"do-pack:sdk-contracts": "yarn workspace @sovryn-zero/sdk-contracts do-pack",
"save-live-version": "yarn workspace @sovryn-zero/lib-ethers save-live-version",
"set-massetManager": "yarn workspace @sovryn-zero/lib-ethers hardhat setMassetManagerAddress",
"start-dev-chain": "run-s start-dev-chain:*",
"start-dev-chain:rsk": "node dev-chain/start.js",
"start-dev-chain:prepare-providers": "yarn prepare:providers",
"start-dev-chain:deploy-contracts": "yarn deploy --network rskdev",
"start-dev-chain:prepare-lib-ethers": "yarn prepare:lib-ethers",
"stop-dev-chain": "docker kill regtest-node-rsk",
"start-dev-frontend": "yarn workspace @sovryn-zero/dev-frontend start",
"start-demo": "run-s start-demo:*",
"start-demo:dev-chain": "yarn start-dev-chain",
"start-demo:dev-frontend": "yarn workspace @sovryn-zero/dev-frontend start-demo",
"stop-demo": "yarn stop-dev-chain",
"test": "run-s test:*",
"test:lib-base": "yarn workspace @sovryn-zero/lib-base test",
"test:lib-ethers": "yarn workspace @sovryn-zero/lib-ethers test",
"test-deprecated:dev-frontend": "run-s --continue-on-error test:dev-frontend:*",
"test-deprecated:dev-frontend:start-dev-chain": "yarn start-dev-chain",
"test-deprecated:dev-frontend:run": "yarn workspace @sovryn-zero/dev-frontend test --watchAll=false --forceExit --detectOpenHandles",
"test-deprecated:dev-frontend:stop-dev-chain": "yarn stop-dev-chain",
"test:contracts": "yarn workspace @sovryn-zero/contracts test",
"test:sdk-contracts": "yarn workspace @sovryn-zero/sdk-contracts test",
"format-lint:contracts": "yarn workspace @sovryn-zero/contracts lint && yarn workspace @sovryn-zero/contracts prettier:write",
"format-lint:sdk-contracts": "yarn workspace @sovryn-zero/sdk-contracts lint && yarn workspace @soryn-zero/sdk-contracts prettier:write",
"test-live": "run-s test-live:*",
"test-live:lib-ethers": "yarn workspace @sovryn-zero/lib-ethers test-live",
"coverage": "run-s coverage:*",
"coverage:contracts": "yarn workspace @sovryn-zero/contracts coverage",
"postinstall": "yarn workspace @sovryn-zero/lib-ethers postinstall"
},
"devDependencies": {
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@microsoft/api-documenter": "^7.12.6",
"fs-extra": "^9.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"semantic-release": "^17.4.2",
"semantic-release-monorepo": "^7.0.4",
"husky": "^8.0.0"
}
}