ack-pdfbox
Version:
Java code for specific pdf manipulations
49 lines • 3.97 kB
JSON
{
"name": "ack-pdfbox",
"version": "1.3.0",
"description": "Java code for specific pdf manipulations",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
"build": "npm run build:jar && npm run build:copy",
"build:copy": "cp ./ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar ./dist/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar",
"build:jar": "mvn clean compile assembly:single -f ./ackpdfbox/pom.xml",
"sign": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar sign test/pdfbox-test.p12 pdfbox-test-password test/unencrypted.pdf -tsa http://tsa.safecreative.org -out test/unencrypted22.pdf",
"sign:i9": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar sign test/pdfbox-test.p12 pdfbox-test-password test/i-9.pdf -tsa http://tsa.safecreative.org -out test/i-922.pdf",
"fill": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar fill test/i-9.pdf test/i-9.pdf.json test/i-9-with-sig.pdf",
"fill:i9-2017": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar fill test/i-9-2017.pdf test/i-9-2017.pdf.json test/i-9-2017-with-sig.pdf",
"fill:flatten": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar fill test/i-9.pdf test/i-9.pdf.json test/i-9-with-sig.pdf -flatten true",
"read": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar read test/i-9.pdf test/i-9.pdf.json",
"read:i9-2017": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar read test/i-9-2017.pdf test/i-9-2017.pdf.json",
"read:ev": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar read test/employment-reference-verification.pdf test/employment-reference-verification.pdf.json",
"read:ahca": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar read test/AHCA_Level2_Forms.pdf test/AHCA_Level2_Forms.pdf.json",
"read:w4": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar read test/fw4.pdf test/fw4.pdf.json",
"fill:w4": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar fill test/fw4.pdf test/fw4.pdf.json test/fw4-filled.pdf",
"combo": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar combo \"read test/i-9.pdf test/i-9.pdf.json\" \"fill test/i-9.pdf test/i-9.pdf.json test/i-9-with-sig.pdf -flatten true\"",
"read:it2104": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar read test/it2104_fill_in.pdf test/it2104_fill_in.pdf.json",
"fill:it2104": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar fill test/it2104_fill_in.pdf test/it2104_fill_in.pdf.json test/it2104_filled_out.pdf",
"toimg": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar pdftoimage test/i-9.pdf -endPage 1",
"toimg:dist": "java -jar dist/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar pdftoimage test/i-9.pdf -endPage 1",
"read:dist": "java -jar dist/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar read test/i-9.pdf test/i-9.pdf.json",
"fill:dist": "java -jar dist/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar fill test/i-9.pdf test/i-9.pdf.json test/i-9-with-sig.pdf",
"add-image": "java -jar ackpdfbox/target/ackpdfbox-1.0-SNAPSHOT-jar-with-dependencies.jar add-image test/unencrypted.pdf test/testImage.png test/testImage2.JPG test/testImage.JPG -y -1 -width 100% -page -1 -out test/unencrypted2.pdf"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AckerApple/ack-pdfbox.git"
},
"keywords": [
"pdfbox",
"pdf",
"fill-form",
"acroform"
],
"author": "Acker Apple",
"license": "MIT",
"bugs": {
"url": "https://github.com/AckerApple/ack-pdfbox/issues"
},
"homepage": "https://github.com/AckerApple/ack-pdfbox#readme"
}