forked from agoric-labs/synpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 6 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
{
"name": "@agoric/synpress",
"version": "3.8.2",
"description": "Synpress is e2e testing framework based around Cypress.io & playwright with included MetaMask support. Test your dapps with ease.",
"keywords": [
"Synpress",
"Cypress",
"metamask",
"testing",
"e2e"
],
"homepage": "https://github.com/agoric-labs/synpress#readme",
"bugs": {
"url": "https://github.com/agoric-labs/synpress/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/agoric-labs/synpress.git"
},
"license": "MIT",
"author": {
"name": "agoric-labs"
},
"type": "commonjs",
"main": "launcher.js",
"bin": {
"synpress": "synpress.js"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --quiet --fix"
],
"*.{json,js,ts,jsx,tsx,html}": [
"prettier --write --ignore-unknown"
]
},
"scripts": {
"fix": "turbo fix:eslint fix:prettier --concurrency 1",
"fix:eslint": "eslint . --ext .js,.ts,.jsx,.tsx --fix",
"fix:prettier": "prettier --write **/*.{js,json,ts,tsx,html}",
"lint": "turbo lint:eslint lint:prettier",
"lint:eslint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint:prettier": "prettier --check **/*.{js,json,ts,tsx,html}",
"lint:sarif": "node lint.js . --ext js",
"release": "release-it --disable-metrics",
"release:major": "release-it major --disable-metrics",
"release:minor": "release-it minor --disable-metrics",
"release:patch": "release-it patch --disable-metrics",
"update:deps": "ncu -u -x 'node-fetch' && pnpm install",
"start:server": "serve node_modules/@metamask/test-dapp/dist -p 3000",
"start:contract": "cd tools/contract && pnpm start",
"start:ui": "cd tools/ui && pnpm dev",
"start:json-server": "json-server tools/json-server-db.json --port 3004",
"synpress:run:metamask": "CYPRESS_SPEC_PATTERN=tests/e2e/specs/metamask/** EXTENSION=metamask SKIP_EXTENSION_SETUP=true SYNPRESS_LOCAL_TEST=true node synpress.js run --configFile=synpress.config.js",
"test:e2e:metamask": "start-server-and-test 'pnpm start:server' http-get://localhost:3000 'pnpm synpress:run:metamask'",
"test:e2e:anvil": "start-server-and-test 'turbo start:server' http-get://localhost:3000 'CYPRESS_USE_ANVIL=true pnpm synpress:run'",
"test:e2e:headless": "start-server-and-test 'turbo start:server' http-get://localhost:3000 'pnpm synpress:run --headless'",
"test:e2e:headless:anvil": "start-server-and-test 'turbo start:server' http-get://localhost:3000 'CYPRESS_USE_ANVIL=true pnpm synpress:run --headless'",
"test:e2e:ci": "start-server-and-test 'VITE_RUN_ENV=agoric_chain pnpm start:ui' http-get://localhost:3000 'pnpm start:json-server' http-get://localhost:3004 'pnpm synpress:run --record --group'",
"test:e2e:ci:keplr": "start-server-and-test 'VITE_RUN_ENV=agoric_chain pnpm start:ui' http-get://localhost:3000 'pnpm start:json-server' http-get://localhost:3004 'pnpm synpress:run:keplr'",
"test:e2e:ci:anvil": "start-server-and-test 'turbo start:server' http-get://localhost:3000 'CYPRESS_USE_ANVIL=true pnpm synpress:run --record --group'",
"test:e2e:ci:cypress-action": "CYPRESS_USE_ANVIL=true pnpm synpress:run",
"synpress:run:keplr": "CYPRESS_SPEC_PATTERN=tests/e2e/specs/keplr/** EXTENSION=keplr SKIP_EXTENSION_SETUP=true SYNPRESS_LOCAL_TEST=true node synpress.js run --configFile=synpress.config.js",
"test:e2e:keplr": "start-server-and-test 'pnpm start:ui' http-get://localhost:3000 'pnpm start:json-server' http-get://localhost:3004 'pnpm synpress:run:keplr'",
"prepare": "husky"
},
"dependencies": {
"@cypress/code-coverage": "^3.11.0",
"@cypress/webpack-dev-server": "^3.5.2",
"@drptbl/gremlins.js": "^2.2.1",
"@foundry-rs/easy-foundryup": "^0.1.3",
"@playwright/test": "^1.37.0",
"@testing-library/cypress": "^9.0.0",
"@testing-library/react": "^14.0.0",
"@types/testing-library__cypress": "^5.0.9",
"@viem/anvil": "^0.0.6",
"app-root-path": "^3.1.0",
"axios": "^1.4.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-react-generate-property": "^1.1.2",
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-transform-react-qa-classes": "^1.6.0",
"babel-plugin-transform-react-styled-components-qa": "^2.1.0",
"bytes32": "^0.0.3",
"clipboardy": "^2.3.0",
"commander": "^11.0.0",
"cypress": "12.17.3",
"cypress-wait-until": "^2.0.1",
"debug": "^4.3.4",
"dotenv": "^16.3.1",
"dotenv-parse-variables": "^2.0.0",
"download": "^8.0.0",
"ethers": "^6.7.1",
"etherscan-api": "^10.3.0",
"find-config": "^1.0.0",
"get-port": "^7.0.0",
"node-fetch": "^2.6.1",
"underscore": "^1.13.6",
"viem": "^1.6.0",
"wait-on": "^7.0.1"
},
"devDependencies": {
"@metamask/test-dapp": "^7.0.1",
"@microsoft/eslint-formatter-sarif": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-turbo": "^1.10.12",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.14.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^4.1.0",
"eslint-plugin-testing-library": "^6.0.0",
"eslint-plugin-ui-testing": "^2.0.1",
"eslint-plugin-unicorn": "^48.0.1",
"husky": "^9.0.11",
"json-server": "1.0.0-alpha.23",
"lint-staged": "^15.2.2",
"npm-check-updates": "^16.12.2",
"prettier": "^3.2.5",
"release-it": "^16.1.5",
"serve": "^14.2.0",
"start-server-and-test": "^2.0.0",
"turbo": "^1.10.12"
},
"resolutions": {
"gh-pages": "5.0.0",
"http-cache-semantics": "4.1.1",
"ansi-regex": "5.0.1",
"@testing-library/dom": "8.20.0",
"ses": "1.3.0",
"@endo/eventual-send": "0.17.2",
"@agoric/xsnap": "0.14.3-u13.0"
},
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
}