add packageJSON locally too, to avoid IFD

This commit is contained in:
chessai 2020-07-18 19:47:41 -07:00
parent a7fff1ac09
commit ba32ac13b0
2 changed files with 19 additions and 0 deletions

View file

@ -10,6 +10,7 @@ mkYarnPackage rec {
rev = "v${version}";
sha256 = "0xrb8r4qc9ds7wmfd30nslnkqylxqfwr4gqf7b30v651sjyds29x";
};
packageJSON = ./package.json;
yarnLock = ./yarn.lock;
yarnNix = ./yarn.nix;
nativeBuildInputs = [ makeWrapper ];

View file

@ -0,0 +1,18 @@
{
"name": "puppeteer-cli",
"version": "1.5.1",
"description": "A command-line wrapper for generating PDF prints and PNG screenshots with Puppeteer. Aims to be a easy replacement for the deprecated wkhtmltopdf.",
"bin": {
"puppeteer": "./index.js"
},
"author": "Chris Alfano <chris@jarv.us>",
"license": "MIT",
"repository": "JarvusInnovations/puppeteer-cli",
"dependencies": {
"file-url": "^3.0.0",
"is-url": "^1.2.4",
"puppeteer": "^2.0.0",
"url-parse": "^1.4.7",
"yargs": "^13.3.0"
}
}