forked from MetaMask/snaps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 4.67 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 4.67 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
{
"name": "@metamask/snaps-execution-environments",
"version": "10.3.0",
"description": "Snap sandbox environments for executing SES javascript",
"keywords": [
"MetaMask",
"Snaps",
"Ethereum"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/snaps-execution-environments#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "SEE LICENSE IN LICENSE",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./node-process": "./dist/webpack/node-process/bundle.js",
"./node-thread": "./dist/webpack/node-thread/bundle.js",
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"files": [
"dist"
],
"scripts": {
"auto-changelog-init": "auto-changelog init",
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
"build:lavamoat": "lavamoat --policy lavamoat/build-system/policy.json --override lavamoat/build-system/policy-override.json ./scripts/build.js",
"build:lavamoat:policy": "yarn build:lavamoat --writeAutoPolicy && LAVAMOAT_GENERATE_POLICY=true node scripts/build.js",
"build:lavamoat:test": "NODE_ENV=test yarn build:lavamoat",
"build:post": "yarn build:lavamoat",
"changelog:update": "../../scripts/update-changelog.sh @metamask/snaps-execution-environments",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-execution-environments",
"clean": "rimraf '*.tsbuildinfo' 'dist' 'src/__GENERATED__/' 'coverage/*' '__test__/*'",
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn changelog:validate && yarn lint:dependencies",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"lint:eslint": "eslint . --cache",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ./.prettierignore",
"publish:preview": "yarn npm publish --tag preview",
"since-latest-release": "../../scripts/since-latest-release.sh",
"start": "node scripts/start.js",
"test": "jest --reporters=jest-silent-reporter && yarn test:browser",
"test:browser": "vitest",
"test:browser:firefox": "vitest --config ./vitest.config.firefox.mts",
"test:clean": "jest --clearCache",
"test:post": "tsx ../../scripts/update-coverage.mts && rimraf coverage/jest coverage/vite",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/json-rpc-engine": "^10.1.0",
"@metamask/object-multiplex": "^2.1.0",
"@metamask/post-message-stream": "^10.0.0",
"@metamask/providers": "^22.1.1",
"@metamask/rpc-errors": "^7.0.3",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/snaps-utils": "workspace:^",
"@metamask/superstruct": "^3.2.1",
"@metamask/utils": "^11.8.1",
"readable-stream": "^3.6.2"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@lavamoat/allow-scripts": "^3.4.0",
"@lavamoat/lavatube": "^1.0.0",
"@lavamoat/webpack": "^1.5.4",
"@metamask/auto-changelog": "^5.0.2",
"@swc/core": "1.11.31",
"@swc/jest": "^0.2.38",
"@testing-library/dom": "^10.4.0",
"@ts-bridge/cli": "^0.6.1",
"@types/jest": "^27.5.1",
"@types/node": "18.14.2",
"@types/webpack-env": "^1.18.1",
"@vitest/browser": "^3.1.1",
"@vitest/coverage-v8": "^3.1.1",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^9.11.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^29.0.2",
"jest-environment-node": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"jest-silent-reporter": "^0.6.0",
"lavamoat": "^10.0.5",
"prettier": "^3.3.3",
"rimraf": "^4.1.2",
"serve-handler": "^6.1.5",
"ses": "^1.14.0",
"stream-browserify": "^3.0.0",
"terser": "^5.17.7",
"ts-loader": "^9.5.2",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"tsx": "^4.20.3",
"typescript": "~5.3.3",
"vite": "^6.4.1",
"vite-tsconfig-paths": "^4.0.5",
"vitest": "^3.1.1",
"webpack": "^5.97.1",
"webpack-merge": "^5.9.0"
},
"engines": {
"node": "^20 || >=22"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}