From 4484e131c46acc0add5242df79080c39adb47711 Mon Sep 17 00:00:00 2001 From: "r3kt.eth" Date: Tue, 2 May 2023 22:40:21 +0200 Subject: [PATCH] use turbo --- package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index bd6e52bb7..37fa20fa8 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,10 @@ "synpress": "synpress.js" }, "scripts": { - "fix": "yarn fix:eslint && yarn fix:prettier", + "fix": "turbo fix:eslint fix:prettier", "fix:eslint": "eslint --fix **/*.js", "fix:prettier": "prettier --write **/*.js", - "lint": "yarn lint:eslint && yarn lint:prettier", + "lint": "turbo lint:eslint lint:prettier", "lint:eslint": "eslint . --ext js", "lint:prettier": "prettier --check **/*.js", "lint:sarif": "node lint.js . --ext js", @@ -38,14 +38,14 @@ "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", + "update:deps": "ncu -u -x 'node-fetch eslint' && pnpm install", "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": "start-server-and-test 'turbo 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 'turbo 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 'turbo 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 'turbo 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 'turbo 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 'turbo 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": {