|
20 | 20 | "lint": "eslint ./lib ./tests", |
21 | 21 | "check-types": "npm run create-entry && tsc ./lib/**.js ./lib/**/*.js --allowJs --checkJs --target esnext --noEmit --skipLibCheck", |
22 | 22 | "test:lib": "npm run create-entry && NODE_OPTIONS=--experimental-vm-modules npx jest --testMatch '**/lib/**/?(*.)+(spec|test).[jt]s?(x)' --coverage --coveragePathIgnorePatterns '/node_modules/' 'onnx/onnx_pb.js' --reporters default ./tests/retry-test.js ./tests/slow-test.js --maxWorkers=100% --workerIdleMemoryLimit=100MB", |
23 | | - "test:gui": "NODE_OPTIONS=--experimental-vm-modules npx jest --testMatch '**/gui/**/?(*.)+(spec|test).[jt]s?(x)' --coveragePathIgnorePatterns '/node_modules/' 'onnx/onnx_pb.js' --reporters default ./tests/retry-test.js ./tests/slow-test.js ./tests/gui-coverage-reporter.js --maxWorkers=100% --workerIdleMemoryLimit=100MB", |
| 23 | + "test:gui": "NODE_OPTIONS=--experimental-vm-modules npx jest --testMatch '**/gui/**/?(*.)+(spec|test).[jt]s?(x)' --coveragePathIgnorePatterns '/node_modules/' 'onnx/onnx_pb.js' --reporters default ./tests/retry-test.js ./tests/slow-test.js ./tests/gui-coverage-reporter.js --testTimeout=20000 --maxWorkers=100% --workerIdleMemoryLimit=100MB", |
24 | 24 | "types": "npm run create-entry && find lib -name \\*.d.ts -delete && tsc ./lib/**.js ./lib/**/*.js --declaration --allowJs --emitDeclarationOnly", |
25 | 25 | "document": "npm run create-entry && documentation build lib/index.js -f html --github -o docs && html-minifier --collapse-whitespace --minify-css true --minify-js true -o ./docs/index.html ./docs/index.html", |
26 | 26 | "minify": "find . -name \\*.js | grep -E '^./(lib|js)' | xargs -t -P2 -n1 -I% npx terser % -c -m -o % && html-minifier --collapse-whitespace --minify-css true --minify-js true -o ./index.html ./index.html", |
|
55 | 55 | }, |
56 | 56 | "homepage": "https://ai-on-browser.github.io/docs", |
57 | 57 | "devDependencies": { |
58 | | - "documentation": "^14.0.0", |
59 | | - "eslint": "^8.29.0", |
60 | | - "eslint-config-prettier": "^8.5.0", |
61 | | - "eslint-plugin-jest": "^27.1.6", |
62 | | - "eslint-plugin-jsdoc": "^39.6.4", |
| 58 | + "documentation": "^14.0.2", |
| 59 | + "eslint": "^8.54.0", |
| 60 | + "eslint-config-prettier": "^9.0.0", |
| 61 | + "eslint-plugin-jest": "^27.6.0", |
| 62 | + "eslint-plugin-jsdoc": "^46.9.0", |
63 | 63 | "html-minifier": "^4.0.0", |
64 | | - "istanbul-reports": "^3.1.5", |
65 | | - "jest": "^29.3.1", |
66 | | - "playwright": "^1.32.1", |
67 | | - "prettier": "^2.8.1", |
68 | | - "terser": "^5.16.1", |
69 | | - "typescript": "^4.9.4", |
70 | | - "v8-to-istanbul": "^9.1.0" |
| 64 | + "istanbul-reports": "^3.1.6", |
| 65 | + "jest": "^29.7.0", |
| 66 | + "playwright": "^1.40.0", |
| 67 | + "prettier": "^3.1.0", |
| 68 | + "terser": "^5.24.0", |
| 69 | + "typescript": "^5.3.2", |
| 70 | + "v8-to-istanbul": "^9.2.0" |
71 | 71 | } |
72 | 72 | } |
0 commit comments