For now we need to use a Babel-plugin, since Webpack 4.x doesn't seem to support it yet. (Most likely we'll have to update to Webpack 5, once that becomes available, in order for this to be directly supported. This is thus also blocked on removing the `webpack-stream` package.) While the `??` operator will thus always be transpiled by Babel, even in modern builds, simply supporting it for development purposes seems like a step in the right direction. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator
71 lines
2.1 KiB
JSON
71 lines
2.1 KiB
JSON
{
|
|
"name": "pdf.js",
|
|
"version": "2.0.0",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.1",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.1",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.10.1",
|
|
"@babel/plugin-transform-runtime": "^7.10.1",
|
|
"@babel/preset-env": "^7.10.1",
|
|
"@babel/runtime": "^7.10.1",
|
|
"acorn": "^7.2.0",
|
|
"autoprefixer": "^9.8.0",
|
|
"babel-loader": "^8.1.0",
|
|
"canvas": "^2.6.1",
|
|
"core-js": "^3.6.5",
|
|
"cross-env": "^7.0.2",
|
|
"es-module-shims": "^0.4.6",
|
|
"escodegen": "^1.14.1",
|
|
"eslint": "^7.1.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.1.0",
|
|
"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.2.0",
|
|
"rimraf": "^2.7.1",
|
|
"streamqueue": "^1.1.2",
|
|
"systemjs": "^0.21.6",
|
|
"systemjs-plugin-babel": "^0.0.25",
|
|
"terser": "^4.7.0",
|
|
"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"
|
|
}
|