-
Notifications
You must be signed in to change notification settings - Fork 568
/
Copy pathpackage.json
153 lines (153 loc) · 5.67 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
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
145
146
147
148
149
150
151
152
153
{
"name": "@metamask/snaps-execution-environments",
"version": "6.13.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"
}
},
"./dist/browserify/node-process/bundle.js": "./dist/browserify/node-process/bundle.js",
"./dist/browserify/node-thread/bundle.js": "./dist/browserify/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 scripts/build.js --policy lavamoat/build-system/policy.json --policyOverride lavamoat/build-system/policy-override.json",
"build:lavamoat:policy": "yarn build:lavamoat --writeAutoPolicy && node scripts/build.js --writeAutoPolicy",
"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 --ext js,ts,jsx,tsx",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel 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": "wdio run wdio.config.js",
"test:clean": "jest --clearCache",
"test:post": "ts-node scripts/coverage.ts && rimraf coverage/jest coverage/wdio",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/json-rpc-engine": "^10.0.2",
"@metamask/object-multiplex": "^2.1.0",
"@metamask/post-message-stream": "^9.0.0",
"@metamask/providers": "^18.3.1",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/snaps-utils": "workspace:^",
"@metamask/superstruct": "^3.1.0",
"@metamask/utils": "^11.0.1",
"nanoid": "^3.1.31",
"readable-stream": "^3.6.2"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@lavamoat/allow-scripts": "^3.0.4",
"@lavamoat/lavapack": "^6.1.1",
"@lavamoat/lavatube": "^1.0.0",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/eslint-config": "^12.1.0",
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@ts-bridge/cli": "^0.6.1",
"@types/express": "^4.17.17",
"@types/jest": "^27.5.1",
"@types/node": "18.14.2",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"@wdio/browser-runner": "^8.19.0",
"@wdio/cli": "^8.19.0",
"@wdio/globals": "^8.19.0",
"@wdio/mocha-framework": "^8.19.0",
"@wdio/spec-reporter": "^8.19.0",
"@wdio/static-server-service": "^8.19.0",
"babel-plugin-tsconfig-paths-module-resolver": "^1.0.4",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"esbuild": "^0.18.10",
"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": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"expect-webdriverio": "^4.4.1",
"istanbul-lib-coverage": "^3.2.0",
"istanbul-lib-report": "^3.0.0",
"istanbul-reports": "^3.1.5",
"jest": "^29.0.2",
"jest-environment-node": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"jest-silent-reporter": "^0.6.0",
"lavamoat": "^8.0.4",
"lavamoat-browserify": "^17.0.5",
"prettier": "^2.8.8",
"prettier-plugin-packagejson": "^2.5.2",
"rimraf": "^4.1.2",
"serve-handler": "^6.1.5",
"ses": "^1.1.0",
"terser": "^5.17.7",
"ts-node": "^10.9.1",
"typescript": "~5.3.3",
"vite": "^4.3.9",
"vite-tsconfig-paths": "^4.0.5",
"wdio-chromedriver-service": "^8.1.1",
"wdio-geckodriver-service": "^5.0.2",
"webdriverio": "^8.19.0",
"yargs": "^17.7.1"
},
"engines": {
"node": "^18.16 || >=20"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}