Skip to content

Commit

Permalink
Use dist version as entry point to npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Klebanoff committed Dec 5, 2017
1 parent 96744e3 commit d5c4316
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea/
node_modules/
dist/
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A tiny javascript library to help printing from the web.

## Installation

You can download the latest version of [Print.js on GitHub](https://github.com/crabbly/Print.js/releases/latest) or just use the [Print.js CDN](http://printjs.crabbly.com/#cdn) links available on the documentation page.
You install via npm, yarn or use the [Print.js CDN](http://printjs.crabbly.com/#cdn) links available on the documentation page.

To install via npm:

Expand Down Expand Up @@ -74,8 +74,6 @@ http-server .

Navigate to `http://localhost:8080/test.html`

When you are ready to put in your PR and want to update the `dist/` with a minified production-ready version, do `npm run production`


## License

Expand Down
1 change: 0 additions & 1 deletion dist/print.min.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/print.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"homepage": "http://printjs.crabbly.com",
"description": "A tiny javascript library to help printing from the web.",
"version": "1.0.25",
"main": "src/index.js",
"main": "dist/print.min.js",
"repository": "https://github.com/crabbly/Print.js",
"license": "MIT",
"dependences": {},
Expand Down

0 comments on commit d5c4316

Please sign in to comment.