-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
package.json
113 lines (113 loc) · 4.53 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
{
"name": "metamask-sdk-monorepo",
"version": "102.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/metamask-sdk"
},
"workspaces": [
"packages/sdk-socket-server-next",
"packages/sdk-install-modal-web",
"packages/sdk-communication-layer",
"packages/sdk",
"packages/sdk-react",
"packages/sdk-react-native",
"packages/sdk-react-ui",
"packages/sdk-ui",
"packages/sdk-lab",
"packages/devsocket",
"packages/devreact",
"packages/devexpo",
"packages/devreactnative",
"packages/devnext",
"packages/deve2e"
],
"scripts": {
"build": "yarn install && cd packages/sdk-socket-server-next && yarn install && cd ../.. && yarn workspaces foreach --verbose run build:pre-tsc && yarn workspaces foreach --verbose --topological --parallel --no-private run build && yarn workspaces foreach --verbose run build:post-tsc ",
"build:clean": "yarn clean && yarn build",
"light-build": "yarn install && cd packages/sdk-socket-server-next && cd ../.. && yarn workspaces foreach --exclude @metamask/sdk-ui --verbose run build:pre-tsc && yarn workspaces foreach --exclude @metamask/sdk-ui --verbose --topological --parallel --no-private run build && yarn workspaces foreach --exclude @metamask/sdk-ui --verbose run build:post-tsc",
"light-build:clean": "yarn clean && yarn light-build",
"build:tsc": "tsc --build --force tsconfig.json",
"clean": "yarn workspaces foreach --no-private run clean",
"postinstall": "patch-package",
"link-packages": "./scripts/link-packages.sh",
"prepare": "husky install",
"lint": "yarn workspaces foreach --no-private run lint",
"lint:changelogs": "yarn workspaces foreach --no-private run lint:changelog",
"lint:eslint": "yarn workspaces foreach --no-private run lint:eslint",
"lint:fix": "yarn workspaces foreach --no-private run lint:fix",
"lint:misc": "yarn workspaces foreach --no-private run lint:misc",
"child-workspace-package-names-as-json": "ts-node scripts/child-workspace-package-names-as-json.ts",
"prepack": "./scripts/prepack.sh",
"prepare-preview-builds": "./scripts/prepare-preview-builds.sh",
"update-examples-dapps": "./scripts/update-examples-dapps.sh",
"publish-previews": "yarn workspaces foreach --parallel --verbose run publish:preview",
"publish:all": "./scripts/publish-all.sh",
"reset": "yarn workspaces foreach --no-private run reset && rimraf node_modules && yarn setup",
"test": "yarn workspaces foreach --no-private run test",
"test:ci": "yarn workspaces foreach --no-private run test:ci",
"pages": "yarn pages:build && yarn pages:build:serve",
"pages:build": "bash ./scripts/build-static-dapps.sh",
"pages:build:serve": "yarn serve -l 1234 deployments",
"test:e2e:ios:ci": "cd e2e && yarn test:ios:browserstack",
"test:e2e:android:ci": "cd e2e && yarn test:android:browserstack"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/plugin-syntax-flow": "^7.21.4",
"@babel/plugin-transform-react-jsx": "^7.21.5",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@lavamoat/allow-scripts": "^2.3.1",
"@metamask/auto-changelog": "^3.4.3",
"@metamask/create-release-branch": "^1.0.1",
"@metamask/eslint-config": "^8.0.0",
"@metamask/eslint-config-jest": "^8.0.0",
"@metamask/eslint-config-nodejs": "^8.0.0",
"@metamask/eslint-config-typescript": "^8.0.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.25",
"@types/readable-stream": "^4.0.10",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^8.0.3",
"jest": "^29.6.4",
"lint-staged": "^13.2.3",
"patch-package": "^6.4.7",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"serve": "^14.2.1",
"ts-jest": "^29.0.3",
"typescript": "^4.3.5"
},
"engines": {
"node": ">=18.0.0"
},
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"canvas": true,
"$root$": false
}
},
"packageManager": "yarn@3.5.1",
"dependencies": {
"debug": "^4.3.4",
"execa": "^5.0.0",
"openai": "^4.24.0",
"ts-node": "^10.9.1"
},
"resolutions": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"secp256k1": "^5.0.1"
}
}