pdf.js/package.json

74 lines
2.1 KiB
JSON
Raw Normal View History

2013-02-02 01:36:58 +09:00
{
"name": "pdf.js",
2017-10-28 02:51:15 +09:00
"version": "2.0.0",
"devDependencies": {
2020-10-18 17:57:52 +09:00
"@babel/core": "^7.12.3",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/runtime": "^7.12.1",
"acorn": "^8.0.4",
"autoprefixer": "^10.0.1",
2020-04-02 19:13:14 +09:00
"babel-loader": "^8.1.0",
2019-12-29 03:57:25 +09:00
"canvas": "^2.6.1",
2020-04-18 18:08:46 +09:00
"core-js": "^3.6.5",
Introduce Puppeteer for handling browsers during tests This commit replaces our own infrastructure for handling browsers during tests with Puppeteer. Using our own infrastructure for this had a few downsides: - It has proven to not always be reliable, especially when closing the browser, causing failures on the bots because browsers were still running even though they should have been stopped. Puppeteer should do a better job with this because it uses the browser's test built-in instrumentation tools for this (the devtools protocol) which our code didn't. This also means that we don't have to pass parameters/preferences to tweak browser behavior anymore. - It requires the browsers under test to be installed on the system, whereas Puppeteer downloads the browsers before the test. This means that setup is much easier (no more manual installations and browser manifest files) as well as testing with different browser versions (since they can be provisioned on demand). Moreover, this ensures that contributors always run the tests in both Firefox and Chrome, regardless of which browsers they have installed locally. - It's all code we have to maintain, so Puppeteer abstracts away how the browsers start/stop for us so we don't have to keep that code. By default, Puppeteer only installs one browser during installation, hence the need for a post-install script to install the second browser. This requires `cross-env` to make passing the environment variable work on both Linux and Windows.
2020-04-19 00:46:58 +09:00
"cross-env": "^7.0.2",
"es-module-shims": "^0.6.0",
"escodegen": "^2.0.0",
2020-11-01 18:04:57 +09:00
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-fetch-options": "^0.0.5",
2020-09-20 18:34:24 +09:00
"eslint-plugin-html": "^6.1.0",
2020-10-04 20:49:28 +09:00
"eslint-plugin-import": "^2.22.1",
2020-08-09 18:03:07 +09:00
"eslint-plugin-mozilla": "^2.8.0",
2020-10-04 20:49:28 +09:00
"eslint-plugin-no-unsanitized": "^3.1.4",
2020-06-27 18:30:30 +09:00
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-unicorn": "^22.0.0",
2020-11-01 18:04:57 +09:00
"globals": "^13.3.0",
"gulp": "^4.0.2",
"gulp-postcss": "^9.0.0",
"gulp-rename": "^2.0.0",
2018-05-20 21:21:08 +09:00
"gulp-replace": "^1.0.0",
"gulp-zip": "^5.0.2",
2020-11-01 18:04:57 +09:00
"jasmine": "^3.6.3",
2020-09-20 18:34:24 +09:00
"jsdoc": "^3.6.6",
"jstransformer-markdown-it": "^2.1.0",
"merge-stream": "^2.0.0",
2020-04-18 18:08:46 +09:00
"mkdirp": "^1.0.4",
2020-09-06 18:49:49 +09:00
"needle": "^2.5.2",
2020-11-01 18:04:57 +09:00
"postcss": "^8.1.4",
2020-10-04 20:49:28 +09:00
"postcss-calc": "^7.0.5",
"postcss-css-variables": "^0.17.0",
2020-09-20 18:34:24 +09:00
"prettier": "^2.1.2",
2020-11-01 18:04:57 +09:00
"puppeteer": "^5.4.1",
"rimraf": "^3.0.2",
"streamqueue": "^1.1.2",
2020-10-04 20:49:28 +09:00
"stylelint": "^13.7.2",
"stylelint-config-prettier": "^8.0.2",
"stylelint-prettier": "^1.1.2",
2019-01-21 00:34:24 +09:00
"systemjs": "^0.21.6",
"systemjs-plugin-babel": "^0.0.25",
2020-11-01 18:04:57 +09:00
"terser": "^5.3.8",
"through2": "^4.0.2",
"ttest": "^3.0.0",
2020-11-01 18:04:57 +09:00
"typescript": "^4.0.5",
2018-07-01 03:39:31 +09:00
"typogr": "^0.6.8",
2020-10-04 20:49:28 +09:00
"vinyl": "^2.2.1",
2018-05-20 21:21:08 +09:00
"vinyl-fs": "^3.0.3",
"web-streams-polyfill": "^3.0.0",
2020-11-01 18:04:57 +09:00
"webpack": "^5.3.2",
"webpack-stream": "~6.1.0",
2018-11-25 05:00:22 +09:00
"wintersmith": "^2.5.0",
2019-10-18 23:42:02 +09:00
"yargs": "^11.1.1"
},
2013-02-02 01:36:58 +09:00
"scripts": {
2020-10-04 06:06:31 +09:00
"postinstall": "cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js",
"test": "gulp npm-test"
2013-02-02 01:36:58 +09:00
},
"repository": {
"type": "git",
"url": "git://github.com/mozilla/pdf.js.git"
2013-03-27 17:16:40 +09:00
},
"license": "Apache-2.0"
2013-02-02 01:36:58 +09:00
}