d0f14b1ce3
The typescript compiler is now configured to know about the import map to be able to resolve those imports and find the associated types. As tsc outputs declaration files using the original module identifiers and not the resolved ones, tsc-alias is used to post-process the declaration files by resolving those paths.
75 lines
2.1 KiB
JSON
75 lines
2.1 KiB
JSON
{
|
|
"name": "pdf.js",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.10",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
|
|
"@babel/preset-env": "^7.22.10",
|
|
"@babel/runtime": "^7.22.10",
|
|
"@javascript-obfuscator/escodegen": "2.3.0",
|
|
"acorn": "^8.10.0",
|
|
"autoprefixer": "^10.4.15",
|
|
"babel-loader": "^9.1.3",
|
|
"caniuse-lite": "^1.0.30001521",
|
|
"canvas": "^2.11.2",
|
|
"core-js": "^3.32.1",
|
|
"cross-env": "^7.0.3",
|
|
"es-module-shims": "1.4.7",
|
|
"eslint": "^8.47.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.1",
|
|
"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.21.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.28",
|
|
"postcss-dir-pseudo-class": "^8.0.0",
|
|
"postcss-nesting": "^12.0.1",
|
|
"prettier": "^3.0.2",
|
|
"puppeteer": "^21.1.0",
|
|
"rimraf": "^3.0.2",
|
|
"streamqueue": "^1.1.2",
|
|
"stylelint": "^15.10.3",
|
|
"stylelint-prettier": "^4.0.2",
|
|
"terser": "^5.19.2",
|
|
"through2": "^4.0.2",
|
|
"tsc-alias": "^1.8.7",
|
|
"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"
|
|
}
|