mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-09 23:04:02 +02:00
It's a first step to add code coverage. In order to get the code coverage report locally, you can run the following command: ```bash npx gulp unittestcli --coverage ``` The code coverage report will be generated in the `./build/coverage` directory. And the report can be consulted by opening: http://localhost:8888/build/coverage/index.html A GitHub workflow has also been added to run the unit tests with code coverage on each push and pull request. The report will be uploaded to Codecov.
74 lines
2.1 KiB
JSON
74 lines
2.1 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",
|
|
"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-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"
|
|
}
|