pdf.js/package.json
Calixte Denizet aa71619c2d [Editor] Fix the resizing of an editor when it's rotated (bug 1847268)
There are 2 rotation we've to deal with: the viewer one and the editor one.
The previous implementation was a bit complex and having to deal with these
rotation would have potentially increase it.
So this patch aims to simplify the implementation and deal with all the possible
cases.
The main idea is to transform the mouse deltas according to the rotations and then
apply the resizing in the page coordinates system.
2023-08-08 12:54:12 +02:00

74 lines
2.1 KiB
JSON

{
"name": "pdf.js",
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/preset-env": "^7.22.9",
"@babel/runtime": "^7.22.6",
"@javascript-obfuscator/escodegen": "2.3.0",
"acorn": "^8.10.0",
"autoprefixer": "^10.4.14",
"babel-loader": "^9.1.3",
"caniuse-lite": "^1.0.30001519",
"canvas": "^2.11.2",
"core-js": "^3.32.0",
"cross-env": "^7.0.3",
"es-module-shims": "1.4.7",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-fetch-options": "^0.0.5",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mozilla": "^3.1.0",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-sort-exports": "^0.8.0",
"eslint-plugin-unicorn": "^48.0.1",
"globals": "^13.20.0",
"gulp": "^4.0.2",
"gulp-postcss": "^9.0.1",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.4",
"gulp-zip": "^5.1.0",
"jasmine": "^5.1.0",
"jsdoc": "^4.0.2",
"jstransformer-markdown-it": "^3.0.0",
"merge-stream": "^2.0.0",
"mkdirp": "^3.0.1",
"needle": "^3.2.0",
"path2d-polyfill": "^2.0.1",
"pngjs": "^7.0.0",
"postcss": "^8.4.27",
"postcss-dir-pseudo-class": "^8.0.0",
"postcss-nesting": "^12.0.1",
"prettier": "^3.0.1",
"puppeteer": "^21.0.1",
"rimraf": "^3.0.2",
"streamqueue": "^1.1.2",
"stylelint": "^15.10.2",
"stylelint-prettier": "^4.0.2",
"terser": "^5.19.2",
"through2": "^4.0.2",
"ttest": "^4.0.0",
"typescript": "^5.1.6",
"typogr": "^0.6.8",
"vinyl": "^3.0.0",
"webpack": "^5.88.2",
"webpack-stream": "^7.0.0",
"wintersmith": "^2.5.0",
"yargs": "^17.7.2"
},
"scripts": {
"postinstall": "cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js"
},
"repository": {
"type": "git",
"url": "git://github.com/mozilla/pdf.js.git"
},
"engines": {
"node": ">=18"
},
"license": "Apache-2.0"
}