8d56a69e74
With these changes SystemJS is now only used, during development, on the worker-thread and in the unit/font-tests, since Firefox is currently missing support for worker modules; please see https://bugzilla.mozilla.org/show_bug.cgi?id=1247687 Hence all the JavaScript files in the `web/` and `src/display/` folders are now loaded *natively* by the browser (during development) using standard `import` statements/calls, thanks to a nice `import-maps` polyfill. *Please note:* As soon as https://bugzilla.mozilla.org/show_bug.cgi?id=1247687 is fixed in Firefox, we should be able to remove all traces of SystemJS and thus finally be able to use every possible modern JavaScript feature.
70 lines
2.0 KiB
JSON
70 lines
2.0 KiB
JSON
{
|
|
"name": "pdf.js",
|
|
"version": "2.0.0",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.6",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.9.6",
|
|
"@babel/plugin-transform-runtime": "^7.9.6",
|
|
"@babel/preset-env": "^7.9.6",
|
|
"@babel/runtime": "^7.9.6",
|
|
"acorn": "^6.4.1",
|
|
"autoprefixer": "^9.7.6",
|
|
"babel-loader": "^8.1.0",
|
|
"canvas": "^2.6.1",
|
|
"core-js": "^3.6.5",
|
|
"cross-env": "^7.0.2",
|
|
"escodegen": "^1.14.1",
|
|
"eslint": "^7.0.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-fetch-options": "^0.0.5",
|
|
"eslint-plugin-html": "^6.0.2",
|
|
"eslint-plugin-import": "^2.20.2",
|
|
"eslint-plugin-mozilla": "^2.4.0",
|
|
"eslint-plugin-no-unsanitized": "^3.1.1",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-unicorn": "^20.0.0",
|
|
"es-module-shims": "^0.4.6",
|
|
"fancy-log": "^1.3.3",
|
|
"globals": "^11.12.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-postcss": "^8.0.0",
|
|
"gulp-rename": "^1.4.0",
|
|
"gulp-replace": "^1.0.0",
|
|
"gulp-zip": "^4.2.0",
|
|
"jasmine": "^3.5.0",
|
|
"jasmine-core": "^3.5.0",
|
|
"jsdoc": "^3.6.4",
|
|
"jstransformer-markdown-it": "^2.1.0",
|
|
"merge-stream": "^1.0.1",
|
|
"mkdirp": "^1.0.4",
|
|
"postcss-calc": "^7.0.2",
|
|
"postcss-css-variables": "^0.14.0",
|
|
"prettier": "^2.0.5",
|
|
"puppeteer": "^3.0.4",
|
|
"rimraf": "^2.7.1",
|
|
"streamqueue": "^1.1.2",
|
|
"systemjs": "^0.21.6",
|
|
"systemjs-plugin-babel": "^0.0.25",
|
|
"terser": "^4.6.13",
|
|
"through2": "^3.0.1",
|
|
"ttest": "^2.1.1",
|
|
"typogr": "^0.6.8",
|
|
"vinyl": "^2.2.0",
|
|
"vinyl-fs": "^3.0.3",
|
|
"web-streams-polyfill": "^2.1.1",
|
|
"webpack": "^4.43.0",
|
|
"webpack-stream": "~5.0.0",
|
|
"wintersmith": "^2.5.0",
|
|
"yargs": "^11.1.1"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "node -e \"require('child_process').execSync('cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js');\"",
|
|
"test": "gulp npm-test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mozilla/pdf.js.git"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|