-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the package installable via npm/yarn #580
base: master
Are you sure you want to change the base?
Conversation
this repo is dead man, i have an active fork in case you still want to contribute |
Yeah I had realised it, but I thought I would try anyway. |
@igghera you'r welcome ;) |
@odahcam I cannot find your repo: https://github.com/blasten/turn.js/network/members |
My repo is archived, sorry. @blasten is working with the polymer folks, maybe a webcomponent based e-book catches his attention. This code is too outdated today, so was mine and I don't wanna encourage people to follow this steps, so I archived my fork. |
This PR contains all the changes needed to make the package available via
npm install turn.js
oryarn add turn.js
.Apart from adding a package.json file and removing the IIFE wrapper I have not changed any of the functionalities of the library. I have also pinpointed the version of jQuery to
1.12.0
because other versions were breaking the page flip mechanism (there's another issue for that, opened by someone else).