pdf.js/package.json
Jonas Jenwald 08584efdfe Test the code as-is, in Node.js/Travis, rather than its Babel translated version
This patch does three things:

 - Updates the `gulp unittestcli` command, using `gulp lint` as a guide, such that it can be run locally on Windows without any modifications.

 - Updates the `gulp lib` command to support disabling of Babel through the `SKIP_BABEL` environment variable. Note that all other build targets support this mode, and there's no good reason for `lib` to be any different here.

 - Updates the `npm test` command, used in Node.js/Travis, to test the code as-is test. Since modern Node.js versions seem to have no problems with ES6 compatible code in general, we should just test the source code as-is instead (similar to the tests running on the regular bots).
2018-12-02 10:15:27 +01:00

58 lines
1.5 KiB
JSON

{
"name": "pdf.js",
"version": "2.0.0",
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/runtime": "^7.0.0",
"acorn": "^5.7.3",
"autoprefixer": "^8.6.5",
"babel-loader": "^8.0.0",
"core-js": "^2.5.7",
"escodegen": "^1.11.0",
"eslint": "^5.9.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-mozilla": "^0.14.0",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-unicorn": "^4.0.3",
"fancy-log": "^1.3.2",
"globals": "^9.18.0",
"gulp": "^3.9.1",
"gulp-postcss": "^7.0.1",
"gulp-rename": "^1.4.0",
"gulp-replace": "^1.0.0",
"gulp-transform": "^3.0.5",
"gulp-zip": "^4.2.0",
"jasmine": "^3.3.0",
"jasmine-core": "^3.3.0",
"jsdoc": "^3.5.5",
"jstransformer-markdown-it": "^2.1.0",
"merge-stream": "^1.0.1",
"mkdirp": "^0.5.1",
"node-ensure": "^0.0.0",
"rimraf": "^2.6.2",
"streamqueue": "^1.1.2",
"systemjs": "^0.21.5",
"systemjs-plugin-babel": "^0.0.25",
"terser": "^3.10.12",
"ttest": "^1.1.0",
"typogr": "^0.6.8",
"vinyl": "^2.2.0",
"vinyl-fs": "^3.0.3",
"webpack": "4.21.0",
"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"
}