0733b54e10
To support this, the following changes have to be made as well: - Ignore `package-lock.json` since NPM creates it, but we should not have it in the repository. - Switch from `babel-preset-es2015` to `babel-preset-env` to resolve the deprecation warning in the test logs. The latter is more recent and flexible, but should be the same functionality-wise. - `transform` now needs to have the `utf-8` encoding option provided. If not given, it will call the callback with a `Buffer` object, which results in an unhandled promise rejection since what is returned from the callback is a string, not a `Buffer`.
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "pdf.js",
|
|
"version": "1.0.0",
|
|
"devDependencies": {
|
|
"acorn": "^5.1.2",
|
|
"babel-core": "^6.26.0",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
|
"babel-preset-env": "^1.6.0",
|
|
"core-js": "^2.5.1",
|
|
"escodegen": "^1.9.0",
|
|
"eslint": "^4.8.0",
|
|
"eslint-plugin-mozilla": "^0.4.4",
|
|
"gulp": "^3.9.1",
|
|
"gulp-rename": "^1.2.2",
|
|
"gulp-replace": "^0.6.1",
|
|
"gulp-transform": "^3.0.5",
|
|
"gulp-util": "^3.0.8",
|
|
"gulp-zip": "^4.0.0",
|
|
"jasmine": "^2.8.0",
|
|
"jasmine-core": "^2.8.0",
|
|
"jsdoc": "^3.5.5",
|
|
"merge-stream": "^1.0.1",
|
|
"mkdirp": "^0.5.1",
|
|
"node-ensure": "^0.0.0",
|
|
"rimraf": "^2.6.2",
|
|
"streamqueue": "^1.1.1",
|
|
"systemjs": "^0.20.19",
|
|
"systemjs-plugin-babel": "^0.0.25",
|
|
"ttest": "^1.1.0",
|
|
"typogr": "^0.6.7",
|
|
"uglify-es": "^3.1.2",
|
|
"vinyl-fs": "^2.4.4",
|
|
"webpack": "^3.6.0",
|
|
"webpack-stream": "^4.0.0",
|
|
"wintersmith": "^2.4.1",
|
|
"yargs": "^9.0.1"
|
|
},
|
|
"scripts": {
|
|
"test": "gulp lint unittestcli externaltest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mozilla/pdf.js.git"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|