generated from MetaMask/metamask-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 6.9 KB
/
package.json
File metadata and controls
144 lines (144 loc) · 6.9 KB
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "@metamask/metamask-design-system",
"version": "17.0.0",
"private": true,
"description": "The MetaMask Design System monorepo",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/metamask-design-system.git"
},
"files": [],
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "yarn workspaces foreach --all --topological-dev run build",
"build:clean": "rimraf 'packages/*/dist' '**/*.tsbuildinfo' && yarn build",
"build:types": "tsc --build tsconfig.build.json --verbose",
"changelog:update": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:update",
"changelog:validate": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:validate",
"create-component:react": "yarn workspace @metamask/design-system-react create-component",
"create-package": "tsx scripts/create-package",
"figma:connect:react": "figma connect --config packages/design-system-react/figma.config.json",
"figma:connect:react-native": "figma connect --config packages/design-system-react-native/figma.config.json",
"figma:connect:publish": "yarn figma:connect:publish:react && yarn figma:connect:publish:react-native",
"figma:connect:publish:dry-run": "yarn figma:connect:publish:react:dry-run && yarn figma:connect:publish:react-native:dry-run",
"figma:connect:publish:react": "figma connect publish --config packages/design-system-react/figma.config.json",
"figma:connect:publish:react:dry-run": "figma connect publish --dry-run --config packages/design-system-react/figma.config.json",
"figma:connect:publish:react-native": "figma connect publish --config packages/design-system-react-native/figma.config.json",
"figma:connect:publish:react-native:dry-run": "figma connect publish --dry-run --config packages/design-system-react-native/figma.config.json",
"figma:connect:unpublish": "yarn figma:connect:unpublish:react && yarn figma:connect:unpublish:react-native",
"figma:connect:unpublish:react": "figma connect unpublish --config packages/design-system-react/figma.config.json",
"figma:connect:unpublish:react-native": "figma connect unpublish --config packages/design-system-react-native/figma.config.json",
"generate-icons": "yarn generate-icons:react && yarn generate-icons:react-native",
"generate-icons:react": "yarn workspace @metamask/design-system-react generate-icons",
"generate-icons:react-native": "yarn workspace @metamask/design-system-react-native generate-icons",
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn constraints && yarn lint:dependencies",
"lint:clear-cache": "rimraf .eslintcache",
"lint:dependencies": "depcheck && yarn dedupe --check",
"lint:dependencies:fix": "depcheck && yarn dedupe",
"lint:eslint": "yarn tsx ./scripts/run-eslint.ts --cache",
"lint:fix": "yarn lint:clear-cache && yarn lint:eslint --fix && yarn lint:misc --write && yarn constraints --fix && yarn lint:dependencies:fix",
"lint:misc": "prettier --no-error-on-unmatched-pattern '**/*.json' '**/*.md' '**/*.yml' '!.yarnrc.yml' '!merged-packages/**' --ignore-path .prettierignore",
"prepack": "./scripts/prepack.sh",
"prepare-preview-builds": "./scripts/prepare-preview-builds.sh",
"publish-previews": "yarn workspaces foreach --all --no-private --parallel --verbose run publish:preview",
"setup": "yarn install && yarn build",
"storybook": "yarn workspace @metamask/storybook-react storybook",
"storybook:android": "yarn workspace @metamask/storybook-react-native android",
"storybook:ios": "yarn workspace @metamask/storybook-react-native ios",
"test": "yarn test:scripts --silent --collectCoverage=false --reporters=jest-silent-reporter && yarn test:packages",
"test:clean": "yarn workspaces foreach --all --parallel --verbose run test:clean && yarn test",
"test:packages": "yarn test:verbose --silent --collectCoverage=false --reporters=jest-silent-reporter",
"test:scripts": "NODE_OPTIONS=--experimental-vm-modules yarn jest --config ./jest.config.scripts.js --silent",
"test:storybook": "yarn workspace @metamask/storybook-react test-storybook",
"test:verbose": "yarn workspaces foreach --all --parallel --verbose run test:verbose",
"update-readme-content": "tsx scripts/update-readme-content.ts",
"workspaces:list-versions": "./scripts/list-workspace-versions.sh"
},
"simple-git-hooks": {
"pre-push": "yarn lint"
},
"resolutions": {
"minimist": "1.2.8",
"plist": "3.0.5",
"@xmldom/xmldom": "0.7.7",
"@babel/traverse": "7.25.9",
"simple-plist": "1.3.1",
"shell-quote": "1.7.3",
"cross-spawn": "7.0.5",
"node-fetch": "2.6.7",
"json5": "2.2.2",
"merge": "2.1.1",
"semver": "7.5.2",
"braces": "^3.0.3",
"elliptic@6.5.4": "^6.5.7",
"fast-xml-parser@^4.3.4": "^4.4.1",
"send": "^0.19.0",
"ws@7.4.6": "^7.5.10"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@figma/code-connect": "^1.0.0",
"@lavamoat/allow-scripts": "^3.2.1",
"@metamask/create-release-branch": "^4.1.3",
"@metamask/eslint-config": "^15.0.0",
"@metamask/eslint-config-jest": "^15.0.0",
"@metamask/eslint-config-nodejs": "^15.0.0",
"@metamask/eslint-config-typescript": "^15.0.0",
"@metamask/utils": "^11.8.1",
"@types/eslint-plugin-tailwindcss": "^3",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.191",
"@types/node": "^16.18.54",
"@types/semver": "^7",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@yarnpkg/types": "^4.0.0",
"babel-jest": "^29.7.0",
"chalk": "^4.1.2",
"depcheck": "^1.4.7",
"eslint": "^9.11.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import-x": "^4.3.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jsdoc": "^50.2.4",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-tailwindcss": "^3.18.0",
"execa": "^5.0.0",
"jest": "^29.7.0",
"jest-silent-reporter": "^0.5.0",
"lodash": "^4.17.21",
"prettier": "^3.3.3",
"prettier-plugin-packagejson": "^2.4.5",
"react": "^18.2.0",
"react-native": "^0.72.15",
"rimraf": "^5.0.5",
"semver": "^7.7.1",
"simple-git-hooks": "^2.8.0",
"tsx": "^4.20.6",
"twrnc": "^4.5.1",
"typescript": "~5.2.2",
"typescript-eslint": "^8.7.0",
"yargs": "^17.7.2"
},
"packageManager": "yarn@4.10.3",
"engines": {
"node": "^18.18 || >=20"
},
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"@keystonehq/bc-ur-registry-eth>hdkey>secp256k1": true,
"babel-runtime>core-js": false,
"simple-git-hooks": false,
"tsx>esbuild": false
}
}
}