This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 154
/
package.json
100 lines (100 loc) · 2.92 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
{
"name": "@chainsafe/dappeteer",
"version": "5.2.1",
"description": "E2E testing for dApps using Puppeteer + MetaMask",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"jest-preset.js",
"dist",
"userData",
"bin"
],
"engines": {
"node": ">=16.10"
},
"packageManager": "[email protected]",
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.build.json",
"lint": "eslint --color --ext .ts src/ test/",
"lint:fix": "yarn run lint --fix",
"test:userData": "USER_DATA_TEST=true mocha --bail --require ts-node/register",
"test:puppeteer:userData": "AUTOMATION=puppeteer yarn run test:userData",
"test:playwright:userData": "AUTOMATION=playwright yarn run test:userData",
"test:mm": "mocha --timeout 30000 --bail --require ts-node/register --require test/global.ts",
"test:flask": "mocha --timeout 30000 --bail --require ts-node/register --require test/global_flask.ts",
"test:puppeteer:mm": "AUTOMATION=puppeteer yarn run test:mm",
"test:puppeteer:flask": "AUTOMATION=puppeteer yarn run test:flask",
"test:playwright:mm": "AUTOMATION=playwright yarn run test:mm",
"test:playwright:flask": "AUTOMATION=playwright yarn run test:flask",
"download:metamask": "node -r ts-node/register ./scripts/download_metamask.ts"
},
"bin": {
"mmd": "./bin/metamask_downloader.js"
},
"repository": {
"type": "git",
"url": "https://github.com/chainsafe/dappeteer.git"
},
"keywords": [
"e2e",
"testing",
"metamask",
"puppeteer",
"dapp",
"ethereum"
],
"contributors": [
"Juan Cazala <[email protected]>",
"ChainSafe <[email protected]>"
],
"license": "MIT",
"dependencies": {
"@metamask/providers": "^9.1.0",
"fs-extra": "^11.1.0",
"node-stream-zip": "^1.13.0",
"serve-handler": "5.0.8",
"strict-event-emitter": "^0.2.8"
},
"devDependencies": {
"@chainsafe/eslint-config": "^1.1.0",
"@ganache/console.log": "^0.2.0",
"@jest/types": "^27.1.1",
"@metamask/snaps-cli": "^0.30.0",
"@metamask/snaps-types": "^0.32.2",
"@metamask/snaps-ui": "^0.30.0",
"@rushstack/eslint-patch": "^1.2.0",
"@types/chai": "^4.2.22",
"@types/chai-as-promised": "^7.1.5",
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^9.1.1",
"@types/serve-handler": "^6.1.1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"eslint": "^8.24.0",
"ganache": "^7.4.3",
"jest-environment-node": "^27.1.1",
"mocha": "^10.2.0",
"playwright": "^1.29.2",
"prettier": "^2.2.1",
"puppeteer": "19.6.3",
"solc": "0.5.2",
"ts-node": "^10.9.1",
"typescript": "~4.7",
"web3": "4.0.1-alpha.2",
"web3-eth-contract": "4.0.1-alpha.2"
},
"peerDependencies": {
"playwright": ">=1.29",
"puppeteer": ">=19"
},
"peerDependenciesMeta": {
"playwright": {
"optional": true
},
"puppeteer": {
"optional": true
}
}
}