mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
The `streamqueue` dependency is only used for the test targets in the Gulpfile to make sure that the test types are run in series. This is done by modelling the test processes as readable streams and then having `streamqueue` combine them into a single readable stream for Gulp that processes the inner readable streams in series (in contrast to the `ordered-read-streams` dependency which is very similar but processes the inner streams in parallel). However, modelling the test processes as readable streams is a bit odd because we're not actually streaming any data as one might expect. Instead, we only use them to signal test process completion/abortion. Fortunately nowadays, with modern Gulp versions, we don't need readable streams and `streamqueue` anymore because we can achieve the same result with simple asynchronous functions that can be passed to e.g. `gulp.series()` calls. Note that we already do this in various places, and overall it should be a better fit for test process invocations.
76 lines
2.2 KiB
JSON
76 lines
2.2 KiB
JSON
{
|
|
"name": "pdf.js",
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.8",
|
|
"@babel/preset-env": "^7.24.8",
|
|
"@babel/runtime": "^7.24.8",
|
|
"@fluent/bundle": "^0.18.0",
|
|
"@fluent/dom": "^0.10.0",
|
|
"@jazzer.js/core": "^2.1.0",
|
|
"@metalsmith/layouts": "^2.7.0",
|
|
"@metalsmith/markdown": "^1.10.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"babel-loader": "^9.1.3",
|
|
"caniuse-lite": "^1.0.30001641",
|
|
"canvas": "^2.11.2",
|
|
"core-js": "^3.37.1",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-fetch-options": "^0.0.5",
|
|
"eslint-plugin-html": "^8.1.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-jasmine": "^4.2.0",
|
|
"eslint-plugin-json": "^3.1.0",
|
|
"eslint-plugin-mozilla": "^3.7.4",
|
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-sort-exports": "^0.9.1",
|
|
"eslint-plugin-unicorn": "^54.0.0",
|
|
"globals": "^15.8.0",
|
|
"gulp": "^5.0.0",
|
|
"gulp-cli": "^3.0.0",
|
|
"gulp-postcss": "^10.0.0",
|
|
"gulp-rename": "^2.0.0",
|
|
"gulp-replace": "^1.1.4",
|
|
"gulp-zip": "^6.0.0",
|
|
"highlight.js": "^11.10.0",
|
|
"jasmine": "^5.1.0",
|
|
"jsdoc": "^4.0.3",
|
|
"jstransformer-nunjucks": "^1.2.0",
|
|
"metalsmith": "^2.6.3",
|
|
"metalsmith-html-relative": "^2.0.1",
|
|
"ordered-read-streams": "^2.0.0",
|
|
"path2d": "^0.2.1",
|
|
"pngjs": "^7.0.0",
|
|
"postcss": "^8.4.39",
|
|
"postcss-dark-theme-class": "^1.3.0",
|
|
"postcss-dir-pseudo-class": "^8.0.1",
|
|
"postcss-discard-comments": "^7.0.1",
|
|
"postcss-nesting": "^12.1.5",
|
|
"prettier": "^3.3.3",
|
|
"puppeteer": "^22.13.0",
|
|
"stylelint": "^16.7.0",
|
|
"stylelint-prettier": "^5.0.0",
|
|
"terser-webpack-plugin": "^5.3.10",
|
|
"tsc-alias": "^1.8.10",
|
|
"ttest": "^4.0.0",
|
|
"typescript": "^5.5.3",
|
|
"vinyl": "^3.0.0",
|
|
"webpack": "^5.93.0",
|
|
"webpack-stream": "^7.0.0",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.mjs"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mozilla/pdf.js.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|