Files
AutistMask/package.json
T
clawbot 3191577f73
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
test: make test fails when jest force-stops a worker (closes #711)
When a test left a timer running, jest force-stopped the worker that ran the test and printed "A worker process has failed to exit gracefully", but the run still passed. Both test scripts in package.json now run jest through script/lib/jest.js. The helper runs jest inside its own process, so the terminal output is unchanged, and it exits 1 when jest writes that warning to stderr. Jest 30 has no option that fails the run on it. The eslint.config.js comment on script/lib/ now says those files run on plain node and are never bundled.

Model: opus-5-5
2026-11-02 01:44:22 +01:00

39 lines
1.1 KiB
JSON

{
"name": "autistmask",
"version": "0.1.0",
"description": "Minimal Ethereum wallet browser extension for Chrome and Firefox",
"author": "sneak <sneak@sneak.berlin>",
"license": "GPL-3.0",
"private": true,
"scripts": {
"test": "node script/lib/jest.js --maxWorkers=3",
"test:verbose": "node script/lib/jest.js --maxWorkers=3 --verbose",
"build": "node build.js",
"lint": "eslint . && prettier --check .",
"fmt": "prettier --write .",
"fmt-check": "prettier --check ."
},
"jest": {
"setupFiles": [
"<rootDir>/tests/support/navigatorLocks.js"
]
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@tailwindcss/cli": "4.3.1",
"esbuild": "^0.27.3",
"eslint": "10.8.1",
"globals": "17.11.0",
"jest": "^30.2.0",
"playwright-core": "1.56.0",
"prettier": "^3.8.1",
"tailwindcss": "4.3.1"
},
"dependencies": {
"ethereum-blockies-base64": "^1.0.2",
"ethers": "^6.16.0",
"libsodium-wrappers-sumo": "^0.8.2",
"qrcode": "^1.5.4"
}
}