Commit b4b9168c authored by Fred Chasen's avatar Fred Chasen

Merge branch 'remove_ghostscript4js_dev_dependancy' into 'master'

Remove ghostscript4js as a dev dependancy

See merge request !46
parents ec341b8e ef9d77b6
Pipeline #186 passed with stage
in 3 minutes and 36 seconds
......@@ -129,9 +129,6 @@ Install dependencies
$ npm install
NOTE: This library depends on the `ghostscript4js` package.
Make sure that all the prerequisites are met before installing the dependencies:
## Development
Run the local dev-server with livereload and autocompile on [http://localhost:9090/](http://localhost:9090/)
......@@ -162,6 +159,29 @@ Specs run a html file in Chrome (using puppeteer) to test against CSS specificat
They can also output a pdf and compare pages (one at a time) in that PDF with samples PDFs (saved as images).
The PDF comparison tests depend on the `ghostscript` and the `ghostscript4js` package.
To run them you'll need to install a local version of Ghostscript for you system according to
For Mac you can install it with
brew install ghostscript
For Debian you can install it with
sudo apt-get install ghostscript
sudo apt-get install libgs-dev
Then you can install the node library
npm install ghostscript4js --no-save
To test the pdf output of specs, you'll need to build the library locally.
This diff is collapsed.
......@@ -26,7 +26,6 @@
"chalk": "^2.4.1",
"eslint": "^5.10.0",
"express": "^4.16.4",
"ghostscript4js": "^3.0.0",
"jest": "^23.6.0",
"jest-image-snapshot": "^2.7.0",
"puppeteer": "GoogleChrome/puppeteer",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment