pdf.js.mirror/package.json
calixteman 2b57ef4b56
Fix code coverage line mapping
When checking the code coverage report, it was noticed that the line numbers were off.
It was due to the fact that the files used for coverage were the transpiled ones,
when the ones used by Codecov were the original ones.
So this patches adds the source maps to the transpiled files, and also updates
the license header in the original files in using a babel plugin in order
to make sure the line numbers are correct.
As a side effect of this work, it's now possible to have the correct line
numbers in the stack traces when running tests with the transpiled files.
2026-02-15 23:03:07 +01:00

76 lines
2.2 KiB
JSON

{
"name": "pdf.js",
"type": "module",
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/runtime": "^7.28.6",
"@csstools/postcss-light-dark-function": "^2.0.11",
"@fluent/bundle": "^0.19.1",
"@fluent/dom": "^0.10.2",
"@metalsmith/layouts": "^3.0.0",
"@metalsmith/markdown": "^1.10.0",
"@napi-rs/canvas": "^0.1.90",
"@types/node": "^25.2.2",
"autoprefixer": "^10.4.24",
"babel-loader": "^10.0.0",
"babel-plugin-add-header-comment": "^1.0.3",
"c8": "^10.1.3",
"cached-iterable": "^0.3.0",
"caniuse-lite": "^1.0.30001769",
"core-js": "^3.48.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jasmine": "^4.2.2",
"eslint-plugin-json": "^4.0.1",
"eslint-plugin-no-unsanitized": "^4.1.4",
"eslint-plugin-perfectionist": "^5.5.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-unicorn": "^62.0.0",
"globals": "^17.3.0",
"gulp": "^5.0.1",
"gulp-cli": "^3.1.0",
"gulp-postcss": "^10.0.0",
"gulp-rename": "^2.1.0",
"gulp-replace": "^1.1.4",
"gulp-sourcemaps": "^3.0.0",
"gulp-zip": "^6.1.0",
"highlight.js": "^11.11.1",
"jasmine": "^5.13.0",
"jsdoc": "^4.0.5",
"jstransformer-nunjucks": "^1.2.0",
"metalsmith": "^2.6.3",
"metalsmith-html-relative": "^2.0.9",
"node-readable-to-web-readable-stream": "^0.4.2",
"ordered-read-streams": "^2.0.0",
"pngjs": "^7.0.0",
"postcss": "^8.5.6",
"postcss-dir-pseudo-class": "^9.0.1",
"postcss-discard-comments": "^7.0.5",
"postcss-nesting": "^13.0.2",
"postcss-values-parser": "^7.0.0",
"prettier": "^3.8.1",
"puppeteer": "^24.37.2",
"stylelint": "^16.26.1",
"stylelint-prettier": "^5.0.3",
"svglint": "^4.2.0",
"terser-webpack-plugin": "^5.3.16",
"tsc-alias": "^1.8.16",
"ttest": "^4.0.0",
"typescript": "^5.9.3",
"vinyl": "^3.0.1",
"webpack": "^5.105.0",
"webpack-stream": "^7.0.0",
"yargs": "^18.0.0"
},
"repository": {
"type": "git",
"url": "git://github.com/mozilla/pdf.js.git"
},
"engines": {
"node": ">=20.19.0 || >=22.13.0 || >=24"
},
"license": "Apache-2.0"
}