-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from yakovmeister/next
Next
- Loading branch information
Showing
8 changed files
with
402 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"presets": ["env"], | ||
"plugins": ["syntax-async-functions", "transform-regenerator"] | ||
"presets": [ | ||
"env", | ||
"stage-0", | ||
"stage-1", | ||
"stage-2" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package-lock.json | ||
node_modules | ||
/test/o | ||
/test/output |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "pdf2pic", | ||
"version": "1.1.7", | ||
"description": "Node module for converting PDF to image based on pdf2img by Fitra Adity", | ||
"version": "1.2.0", | ||
"description": "A utility for converting pdf to image and base64 format.", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"homepage": "https://github.com/yakovmeister/pdf2image", | ||
|
@@ -11,12 +11,12 @@ | |
}, | ||
"scripts": { | ||
"clean": "rimraf ./lib && mkdir lib", | ||
"clean:test": "rimraf ./test/o && mkdir test/o", | ||
"clean:test": "rimraf ./test/output && mkdir test/output", | ||
"clean:compile": "rimraf ./lib/compiled", | ||
"compile:babel": "babel-compile -p env src:lib/compiled", | ||
"compile:babel": "babel-compile -p env -p stage-0 -p stage-1 -p stage-2 src:lib/compiled", | ||
"compile:minify": "minify lib/compiled -d lib", | ||
"compile": "npm run clean && npm run compile:babel && npm run compile:minify && npm run clean:compile", | ||
"test": "npm run clean:test && _mocha test" | ||
"test": "npm run clean:test && _mocha test --require babel-polyfill --require babel-register" | ||
}, | ||
"keywords": [ | ||
"pdf-to-image", | ||
|
@@ -34,21 +34,24 @@ | |
], | ||
"author": "Jacob Baring <[email protected]>", | ||
"dependencies": { | ||
"babel-polyfill": "^6.23.0", | ||
"bluebird": "^3.5.1", | ||
"fs-extra": "^4.0.2", | ||
"gm": "^1.23.0", | ||
"gm-base64": "^1.1.1", | ||
"private-props": "^0.1.1" | ||
"gm-base64": "^1.1.1" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.24.0", | ||
"babel-compile": "^2.0.0", | ||
"babel-core": "^6.26.0", | ||
"babel-minify": "^0.2.0", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"babel-preset-stage-1": "^6.24.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"babel-register": "^6.24.0", | ||
"mocha": "^4.0.1", | ||
"chai": "^4.1.2", | ||
"mocha": "^4.1.0", | ||
"rimraf": "^2.6.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.