pdf.js/package.json
Tim van der Meij 215c546fd5
Upgrade to eslint version 6
This major version bump required two changes:

- The global line in the mobile viewer example should be removed because
  the `.eslintrc` file already defines these globals and with the new
  `eslint` version we otherwise get an error saying "'pdfjsLib' is already
  defined as a built-in global variable".
- The ECMA version for the examples must be set to 6 since we're using
  modules, otherwise we get an error saying "sourceType 'module' is not
  supported when ecmaVersion < 2015". It turns out that the previous
  version of `eslint` already used ECMA version 6 silently even though
  we set 5, see https://github.com/eslint/eslint/issues/9687#issuecomment-432413384,
  so in terms of our code nothing really changes.
2019-08-24 20:21:10 +02:00

59 lines
1.6 KiB
JSON

{
"name": "pdf.js",
"version": "2.0.0",
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/runtime": "^7.5.5",
"acorn": "^6.3.0",
"autoprefixer": "^9.6.1",
"babel-loader": "^8.0.6",
"canvas": "^2.6.0",
"core-js": "^2.6.9",
"escodegen": "^1.12.0",
"eslint": "^6.2.2",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-mozilla": "1.2.1",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-unicorn": "^10.0.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-transform": "^3.0.5",
"gulp-zip": "^4.2.0",
"jasmine": "^3.4.0",
"jasmine-core": "^3.4.0",
"jsdoc": "^3.6.3",
"jstransformer-markdown-it": "^2.1.0",
"merge-stream": "^1.0.1",
"mkdirp": "^0.5.1",
"node-ensure": "^0.0.0",
"rimraf": "^2.7.1",
"streamqueue": "^1.1.2",
"systemjs": "^0.21.6",
"systemjs-plugin-babel": "^0.0.25",
"terser": "^4.2.1",
"ttest": "^2.0.0",
"typogr": "^0.6.8",
"vinyl": "^2.2.0",
"vinyl-fs": "^3.0.3",
"webpack": "^4.39.2",
"webpack-stream": "^4.0.3",
"wintersmith": "^2.5.0",
"yargs": "^11.1.0"
},
"scripts": {
"test": "env SKIP_BABEL=true gulp lint unittestcli externaltest"
},
"repository": {
"type": "git",
"url": "git://github.com/mozilla/pdf.js.git"
},
"license": "Apache-2.0"
}