forked from liquity/dev
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
108 lines (108 loc) · 4.39 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
{
"name": "threshold-usd",
"private": true,
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/web3-eth-abi/@ethersproject/abi",
"**/@graphprotocol/*",
"**/@babel/*",
"**/babel*",
"**/jest*",
"**/react-scripts"
]
},
"engines": {
"node": ">=14.0.0 <17.0.0"
},
"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 @threshold-usd/dev-frontend build",
"build:subgraph": "yarn workspace @threshold-usd/subgraph build",
"deploy": "yarn workspace @threshold-usd/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 @threshold-usd/fuzzer fuzzer",
"prepare": "run-s prepare:*",
"prepare:contracts": "yarn workspace @threshold-usd/contracts prepare",
"prepare:lib-base": "yarn workspace @threshold-usd/lib-base prepare",
"prepare:lib-ethers": "yarn workspace @threshold-usd/lib-ethers prepare",
"prepare:lib-react": "yarn workspace @threshold-usd/lib-react prepare",
"prepare:lib-subgraph": "yarn workspace @threshold-usd/lib-subgraph prepare",
"prepare:providers": "yarn workspace @threshold-usd/providers prepare",
"prepare:subgraph": "yarn workspace @threshold-usd/subgraph prepare",
"prepare:docs": "run-s docs",
"rebuild": "run-s prepare build",
"release": "run-s release:*",
"release:delete-dev-deployments": "yarn workspace @threshold-usd/lib-ethers delete-dev-deployments",
"release:lib-base": "yarn workspace @threshold-usd/lib-base semantic-release",
"release:lib-ethers": "yarn workspace @threshold-usd/lib-ethers semantic-release",
"release:lib-react": "yarn workspace @threshold-usd/lib-react semantic-release",
"release:providers": "yarn workspace @threshold-usd/providers semantic-release",
"save-live-version": "yarn workspace @threshold-usd/lib-ethers save-live-version",
"start-dev-chain": "run-s start-dev-chain:*",
"start-dev-chain:openethereum": "node dev-chain/start.js",
"start-dev-chain:prepare-providers": "yarn prepare:providers",
"start-dev-chain:deploy-contracts": "yarn deploy --network dev",
"start-dev-chain:prepare-lib-ethers": "yarn prepare:lib-ethers",
"stop-dev-chain": "docker kill openethereum",
"start-dev-frontend": "yarn workspace @threshold-usd/dev-frontend start",
"start-demo": "run-s start-demo:*",
"start-demo:dev-chain": "yarn start-dev-chain",
"start-demo:dev-frontend": "yarn workspace @threshold-usd/dev-frontend start-demo",
"stop-demo": "yarn stop-dev-chain",
"test": "run-s test:*",
"test:lib-base": "yarn workspace @threshold-usd/lib-base test",
"test:lib-ethers": "yarn workspace @threshold-usd/lib-ethers test",
"test:dev-frontend": "run-s --continue-on-error test:dev-frontend:*",
"test:dev-frontend:start-dev-chain": "yarn start-dev-chain",
"test:dev-frontend:run": "yarn workspace @threshold-usd/dev-frontend test --watchAll=false --forceExit --detectOpenHandles",
"test:dev-frontend:stop-dev-chain": "yarn stop-dev-chain",
"test-contracts": "yarn workspace @threshold-usd/contracts test",
"test-live": "run-s test-live:*",
"test-live:lib-ethers": "yarn workspace @threshold-usd/lib-ethers test-live",
"coverage": "run-s coverage:*",
"coverage:contracts": "yarn workspace @threshold-usd/contracts coverage"
},
"devDependencies": {
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@microsoft/api-documenter": "^7.12.6",
"@types/node": "17.0.41",
"@types/jest": "26.0.20",
"@types/testing-library__jest-dom": "5.9.5",
"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"
}
}