-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
119 lines (119 loc) · 5.7 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
{
"name": "root",
"version": "1.0.0",
"description": "A multi-chain Snap for MetaMask by ShapeShift.",
"repository": {
"type": "git",
"url": "https://github.com/shapeshift/metamask-snaps.git"
},
"license": "MIT",
"main": "src/index.js",
"files": [
"dist/",
"images/",
"snap.manifest.json"
],
"workspaces": [
"packages/adapter",
"packages/sandbox",
"packages/snap",
"packages/types"
],
"scripts": {
"build:adapter": "yarn workspace @shapeshiftoss/metamask-snaps-adapter build",
"build:clean": "yarn clean && yarn build",
"build:sandbox": "yarn workspace sandbox build",
"build:snap": "yarn workspace @shapeshiftoss/metamask-snaps build",
"build:snap:bundle": "yarn workspace @shapeshiftoss/metamask-snaps build:snap:bundle",
"build:snap:eval": "yarn workspace @shapeshiftoss/metamask-snaps build:snap:eval",
"build:exclude-sandbox": "yarn workspaces foreach --include @shapeshiftoss/metamask-snaps --include @shapeshiftoss/metamask-snaps-adapter --include @shapeshiftoss/metamask-snaps-types --interlaced --verbose --parallel --topological run build",
"build": "yarn workspaces foreach --interlaced --verbose --parallel --topological --jobs 4 run build",
"clean": "yarn workspaces foreach --verbose --parallel run clean",
"dev": "concurrently --prefix \"{time}-[{name}]\" --names \"ADAPTER,SNAP,TYPES\" -c \"bgBlue.bold,bgMagenta.bold\" \"cd packages/adapter && yarn dev\" \"cd packages/snap && yarn dev\" \"cd packages/types && yarn dev\"",
"dev:sandbox": "concurrently --prefix \"{time}-[{name}]\" --names \"ADAPTER,SANDBOX,SNAP,TYPES\" -c \"bgBlue.bold,bgMagenta.bold\" \"cd packages/adapter && yarn dev\" \"cd packages/sandbox && yarn dev\" \"cd packages/snap && yarn dev\" \"cd packages/types && yarn dev\"",
"demo": "concurrently --prefix \"{time}-[{name}]\" --names \"SANDBOX,SNAP\" -c \"bgBlue.bold,bgMagenta.bold\" \"cd packages/sandbox && yarn dev\" \"cd packages/snap && yarn serve\"",
"link-packages": "./scripts/link-packages.sh",
"lint:fix": "yarn lint --fix",
"lint": "yarn eslint --cache '*/**/*.{ts,tsx}'",
"release": "yarn workspaces foreach run semantic-release -e semantic-release-monorepo",
"test": "yarn workspaces foreach --verbose --parallel run test",
"unlink-packages": "./scripts/unlink-packages.sh",
"precommit": "yarn lint:fix && lint-staged"
},
"lint-staged": {
"package.json": [
"prettier-package-json --write",
"git add"
]
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/node": "^18.7.8",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"concurrently": "^7.3.0",
"eslint": "^8.22.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.8.7",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"lerna": "^4.0.0",
"mkdirp": "^1.0.4",
"prettier": "^2.8.8",
"prettier-package-json": "^2.8.0",
"prettier-plugin-packagejson": "^2.4.5",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"semantic-release-monorepo": "^7.0.5",
"ts-jest": "^29.0.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
},
"resolutions": {
"libsodium-wrappers": "patch:libsodium-wrappers@npm:0.7.10#.yarn/patches/libsodium-wrappers-npm-0.7.10-1e41dfad84.patch",
"@bithighlander/[email protected]": "patch:@bithighlander/bitcoin-cash-js-lib@npm:^5.2.1#.yarn/patches/@bithighlander-bitcoin-cash-js-lib-npm-5.2.1-92e8f8436e.patch",
"@shapeshiftoss/[email protected]": "patch:@shapeshiftoss/bitcoinjs-lib@npm:^5.2.0-shapeshift.2#.yarn/patches/@shapeshiftoss-bitcoinjs-lib-npm-5.2.0-shapeshift.2-e59ff81828.patch",
"[email protected]": "patch:bitcoinjs-lib@npm:^5.2.0#.yarn/patches/bitcoinjs-lib-npm-5.2.0-f462e8de5e.patch",
"[email protected]": "patch:ethereumjs-wallet@npm:^1.0.2#.yarn/patches/ethereumjs-wallet-npm-1.0.2-8a504d268d.patch",
"[email protected]": "patch:libsodium@npm:^0.7.10#.yarn/patches/libsodium-npm-0.7.10-047df41812.patch",
"[email protected]": "patch:randomfill@npm:1.0.4#.yarn/patches/randomfill-npm-1.0.4-a08651a679.patch",
"buffer": "patch:buffer@npm:5.7.1#.yarn/patches/buffer-npm-5.7.1-513ef8259e.patch",
"@noble/secp256k1": "patch:@noble/secp256k1@npm:1.6.3#.yarn/patches/@noble-secp256k1-npm-1.6.3-d06f711103.patch",
"@shapeshiftoss/[email protected]": "patch:@shapeshiftoss/unchained-client@npm:10.1.1#.yarn/patches/@shapeshiftoss-unchained-client-npm-10.1.1-1caef9f345.patch",
"node-fetch": "patch:node-fetch@npm:2.6.7#.yarn/patches/node-fetch-npm-2.6.7-777aa2a6df.patch",
"randombytes": "patch:randombytes@npm:2.1.0#.yarn/patches/randombytes-npm-2.1.0-e3da76bccf.patch"
},
"peerDependencies": {
"@babel/core": "*",
"@babel/plugin-syntax-flow": "*",
"@babel/plugin-transform-react-jsx": "*",
"@babel/plugin-transform-reqct-jsx": "*",
"@chakra-ui/styled-system": "*",
"@shapeshiftoss/types": "*",
"eslint-plugin-jsx-a11y": "*",
"eslint-plugin-react": "*",
"eslint-plugin-react-hooks": "*"
},
"dependencies": {
"@shapeshiftoss/caip": "^8.15.0",
"@ungap/url-search-params": "^0.2.2",
"patch-package": "^6.2.2"
}
}