forked from alammonsur2/snaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 5.38 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": "root",
"version": "0.34.1-flask.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"workspaces": [
"packages/*"
],
"scripts": {
"setup": "yarn install",
"postinstall": "simple-git-hooks",
"lint:eslint": "eslint . --cache --ext js,jsx,ts,tsx",
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' '**/*.html'",
"lint:changelogs": "yarn workspaces foreach --parallel --verbose run lint:changelog",
"lint:tsconfig": "node scripts/verify-tsconfig.mjs",
"lint": "yarn workspaces foreach --parallel run lint:eslint && yarn lint:misc --check && yarn lint:tsconfig && yarn constraints",
"lint:fix": "yarn workspaces foreach --parallel run lint:eslint --fix && yarn lint:misc --write && yarn lint:tsconfig && yarn constraints --fix",
"lint:ci": "yarn lint:eslint && yarn lint:misc --check && yarn lint:tsconfig && yarn constraints",
"build": "yarn build:source && yarn build:types && yarn build:post-tsc",
"build:clean": "yarn clean && yarn build",
"build:source": "yarn workspaces foreach --parallel --verbose run build:source",
"build:types": "tsc --build tsconfig.build.json",
"build:post-tsc": "yarn workspaces foreach --parallel --topological --topological-dev --verbose run build:post-tsc",
"build:post-tsc:ci": "yarn workspaces foreach --parallel --topological --topological-dev --verbose --exclude root --exclude \"@metamask/snaps-simulator\" --exclude \"@metamask/snaps-execution-environments\" --exclude \"@metamask/snaps-jest\" --exclude \"@metamask/example-snaps\" run build:post-tsc",
"clean": "yarn workspaces foreach --parallel --verbose run clean",
"test": "yarn workspaces foreach --parallel --verbose run test",
"test:browser": "yarn workspaces foreach --verbose run test:browser",
"child-workspace-package-names-as-json": "ts-node scripts/child-workspace-package-names-as-json.ts",
"prepare-preview-builds": "yarn workspaces foreach --parallel run prepare-manifest:preview",
"publish-previews": "yarn workspaces foreach --parallel run publish:preview",
"install-chrome": "./scripts/install-chrome.sh",
"get-release-tag": "ts-node --swc scripts/get-release-tag.ts",
"test:e2e": "yarn workspaces foreach --verbose --exclude root run test:e2e"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged && yarn dedupe --check"
},
"lint-staged": {
"*.{js,ts,tsx,jsx}": [
"eslint --fix"
],
"!(CHANGELOG).{json,yml,md}": [
"prettier --write"
]
},
"resolutions": {
"@babel/core": "patch:@babel/core@npm%3A7.21.0#./.yarn/patches/@babel-core-npm-7.21.0-fb3817b0e5.patch",
"@lavamoat/lavapack@^5.1.2": "patch:@lavamoat/lavapack@npm%3A5.1.2#./.yarn/patches/@lavamoat-lavapack-npm-5.1.2-67a55c51e2.patch",
"@types/glob@*": "patch:@types/glob@npm%3A7.1.4#./.yarn/patches/@types-glob-npm-7.1.4-d45247eaa2.patch",
"@types/glob@^7.1.1": "patch:@types/glob@npm%3A7.1.4#./.yarn/patches/@types-glob-npm-7.1.4-d45247eaa2.patch",
"@types/mocha@^10.0.1": "patch:@types/mocha@npm:10.0.1#.yarn/patches/@types-mocha-npm-10.0.1-7c94e9e170.patch",
"clet@^1.0.1": "patch:clet@npm%3A1.0.1#./.yarn/patches/clet-npm-1.0.1-8523231bdc.patch",
"find-babel-config": "^2.0.0",
"inline-source-map@~0.6.0": "patch:inline-source-map@npm%3A0.6.2#./.yarn/patches/inline-source-map-npm-0.6.2-96902459a0.patch",
"jest-fetch-mock@^3.0.3": "patch:jest-fetch-mock@npm:3.0.3#.yarn/patches/jest-fetch-mock-npm-3.0.3-ac072ca8af.patch",
"lavamoat-browserify@^15.6.0": "patch:lavamoat-browserify@npm%3A15.6.0#./.yarn/patches/lavamoat-browserify-npm-15.6.0-e22edafc36.patch",
"luxon@^3.2.1": "patch:luxon@npm%3A3.3.0#./.yarn/patches/luxon-npm-3.3.0-bdbae9bfd5.patch"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^2.3.1",
"@metamask/auto-changelog": "^3.1.0",
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config-jest": "^11.0.0",
"@metamask/eslint-config-nodejs": "^11.0.1",
"@metamask/eslint-config-typescript": "^11.0.0",
"@metamask/utils": "^6.0.1",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.66",
"@types/jest": "^27.5.1",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"chromedriver": "^114.0.1",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"execa": "^5.1.1",
"favicons": "^7.1.2",
"geckodriver": "^3.2.0",
"jest": "^29.0.2",
"lint-staged": "^12.4.1",
"minimatch": "^7.4.1",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^4.1.2",
"semver": "^7.3.7",
"simple-git-hooks": "^2.7.0",
"ts-node": "^10.9.1",
"typescript": "~4.8.4"
},
"engines": {
"node": ">=16.0.0"
},
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"simple-git-hooks": false,
"$root$": false,
"chromedriver": true,
"jest>jest-cli>jest-config>ts-node>@swc/core": false,
"geckodriver": true,
"ts-node>@swc/core": true,
"@swc/core": true,
"favicons>sharp": true
}
},
"packageManager": "[email protected]"
}