-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 5.26 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
{
"name": "@phantom/synpress",
"version": "4.0.0-alpha.7",
"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/synthetixio/synpress#readme",
"bugs": {
"url": "https://github.com/synthetixio/synpress/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/synthetixio/synpress.git"
},
"license": "MIT",
"author": {
"name": "Synthetix"
},
"type": "commonjs",
"main": "launcher.js",
"bin": {
"synpress": "synpress.js"
},
"scripts": {
"fix": "yarn fix:eslint && yarn fix:prettier",
"fix:eslint": "eslint --fix **/*.js",
"fix:prettier": "prettier --write **/*.js",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint . --ext js",
"lint:prettier": "prettier --check **/*.js",
"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 eslint' && yarn",
"start:server": "serve node_modules/@metamask/test-dapp/dist -p 3000",
"test:e2e": "start-server-and-test 'yarn start:server' http-get://localhost:3000 'SKIP_METAMASK_SETUP=true SYNPRESS_LOCAL_TEST=true node synpress.js run --configFile=synpress.config.js'",
"test:e2e:anvil": "start-server-and-test 'yarn start:server' http-get://localhost:3000 'SKIP_METAMASK_SETUP=true SYNPRESS_LOCAL_TEST=true CYPRESS_USE_ANVIL=true node synpress.js run --configFile=synpress.config.js'",
"test:e2e:headless": "start-server-and-test 'yarn start:server' http-get://localhost:3000 'SKIP_METAMASK_SETUP=true SYNPRESS_LOCAL_TEST=true node synpress.js run --configFile=synpress.config.js --headless'",
"test:e2e:headless:anvil": "start-server-and-test 'yarn start:server' http-get://localhost:3000 'SKIP_METAMASK_SETUP=true SYNPRESS_LOCAL_TEST=true CYPRESS_USE_ANVIL=true node synpress.js run --configFile=synpress.config.js --headless'",
"test:e2e:ci": "start-server-and-test 'yarn start:server' http-get://localhost:3000 'SKIP_METAMASK_SETUP=true SYNPRESS_LOCAL_TEST=true node synpress.js run --configFile=synpress.config.js --record --group'",
"test:e2e:ci:anvil": "start-server-and-test 'yarn start:server' http-get://localhost:3000 'SKIP_METAMASK_SETUP=true SYNPRESS_LOCAL_TEST=true CYPRESS_USE_ANVIL=true node synpress.js run --configFile=synpress.config.js --record --group'",
"test:e2e:ci:cypress-action": "SKIP_METAMASK_SETUP=true SYNPRESS_LOCAL_TEST=true CYPRESS_USE_ANVIL=true node synpress.js run --configFile=synpress.config.js"
},
"dependencies": {
"@cypress/code-coverage": "^3.10.0",
"@cypress/webpack-dev-server": "^3.3.0",
"@drptbl/gremlins.js": "^2.2.1",
"@playwright/test": "^1.31.2",
"@synthetixio/js": "^2.41.0",
"@testing-library/cypress": "^9.0.0",
"@testing-library/react": "^14.0.0",
"@types/testing-library__cypress": "^5.0.9",
"axios": "^1.3.4",
"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",
"commander": "^10.0.0",
"cypress": "^12.7.0",
"cypress-wait-until": "^1.7.2",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
"dotenv-parse-variables": "^2.0.0",
"download": "^8.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.7.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^4.1.0",
"eslint-plugin-testing-library": "^5.10.2",
"eslint-plugin-ui-testing": "^2.0.1",
"eslint-plugin-unicorn": "^46.0.0",
"ethers": "^6.1.0",
"etherscan-api": "^10.3.0",
"find-config": "^1.0.0",
"node-fetch": "^2.6.1",
"prettier": "^2.8.4",
"serve": "^14.2.0",
"start-server-and-test": "^2.0.0",
"synthetix-js": "^2.74.1"
},
"devDependencies": {
"@metamask/test-dapp": "^5.6.0",
"@microsoft/eslint-formatter-sarif": "^3.0.0",
"@trunkio/launcher": "^1.2.3",
"npm-check-updates": "^16.7.12",
"release-it": "^15.8.0"
},
"resolutions": {
"etherscan-api/gh-pages": "5.0.0",
"@synthetixio/js/lodash": "4.17.21",
"@synthetixio/js/**/axios": "1.3.4",
"@synthetixio/js/**/underscore": "1.12.1",
"synthetix-js/**/elliptic": "6.5.4",
"synthetix-js/lodash": "4.17.21",
"synthetix-js/**/axios": "1.3.4",
"synthetix-js/**/json5": "1.0.2",
"synthetix-js/**/node-fetch": "2.6.7",
"download/**/http-cache-semantics": "4.1.1",
"**/ansi-regex": "5.0.1",
"**/@testing-library/dom": "8.20.0"
},
"overrides": {
"lodash@<4.17.20": "4.17.20"
},
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
}