* all references to jest should have been removed in #1033 * clarify that `cross-env` is used to ensure that environmental variables get applied on Windows (previous usage of cross-env was removed in #1033)
This commit is contained in:
@@ -5,10 +5,11 @@
|
||||
"scripts": {
|
||||
"prepare": "npm run prepack",
|
||||
"prepack": "npm run build",
|
||||
"retest": "jest",
|
||||
"test": "vitest run",
|
||||
"retest": "vitest run",
|
||||
"test": "yarn build && vitest run",
|
||||
"test:watch": "vitest watch",
|
||||
"test:update": "vitest run --update",
|
||||
"retest:update": "vitest run --update",
|
||||
"test:update": "yarn build && vitest run --update",
|
||||
"dev": "vite build --watch",
|
||||
"build": "yarn check-types && vite build",
|
||||
"check-types": "tsc --noEmit",
|
||||
@@ -55,7 +56,6 @@
|
||||
"@types/jsdom": "^20.0.0",
|
||||
"@types/node": "^18.15.11",
|
||||
"@types/puppeteer": "^5.4.4",
|
||||
"cross-env": "^5.2.0",
|
||||
"puppeteer": "^17.1.3",
|
||||
"ts-node": "^7.0.1",
|
||||
"tslib": "^1.9.3",
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
"prepack": "npm run build",
|
||||
"retest": "vitest run --exclude test/benchmark",
|
||||
"build-and-test": "yarn build && yarn retest",
|
||||
"test:headless": "PUPPETEER_HEADLESS=true yarn build-and-test",
|
||||
"test:headful": "PUPPETEER_HEADLESS=false yarn build-and-test",
|
||||
"test:headless": "cross-env PUPPETEER_HEADLESS=true yarn build-and-test",
|
||||
"test:headful": "cross-env PUPPETEER_HEADLESS=false yarn build-and-test",
|
||||
"test": "yarn test:headless",
|
||||
"test:watch": "yarn build && PUPPETEER_HEADLESS=true yarn vitest --exclude test/benchmark",
|
||||
"test:watch": "yarn build && cross-env PUPPETEER_HEADLESS=true yarn vitest --exclude test/benchmark",
|
||||
"test:update": "yarn test:headless --update",
|
||||
"retest:update": "PUPPETEER_HEADLESS=true yarn retest --update",
|
||||
"retest:update": "cross-env PUPPETEER_HEADLESS=true yarn retest --update",
|
||||
"repl": "yarn build && node scripts/repl.js",
|
||||
"live-stream": "yarn build && node scripts/stream.js",
|
||||
"dev": "vite build --watch",
|
||||
@@ -65,7 +65,6 @@
|
||||
"@types/node": "^18.15.11",
|
||||
"@types/offscreencanvas": "^2019.6.4",
|
||||
"construct-style-sheets-polyfill": "^3.1.0",
|
||||
"cross-env": "^5.2.0",
|
||||
"fast-mhtml": "^1.1.9",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"ignore-styles": "^5.0.1",
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/webextension-polyfill": "^0.9.1",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"type-fest": "^2.19.0",
|
||||
"vite": "^5.2.8",
|
||||
"vite-plugin-web-extension": "^4.1.3",
|
||||
|
||||
Reference in New Issue
Block a user