Skip to content

Commit

Permalink
Fix fancybox being considered extraneous package
Browse files Browse the repository at this point in the history
Since Debian-provided version of NPM does not support scoped
packages, we tried to install FancyBox from Git. I also changed the
dependency name in the `package.json` to just `fancybox` in order
not to trigger the outdated NPM. Apparently, this made NPM
think the package is extraneous due to a mismatch between the
package name and the name in the `package.json`. And what is more
it does not work with older NPM versions either.

For that reason, we have decided to ignore the older NPM versions
for now.
  • Loading branch information
jtojnar committed Jun 19, 2017
1 parent 08d5f15 commit 9dd648c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"fancybox": "github:fancyapps/fancybox#v3.1.20",
"@fancyapps/fancybox": "^3.1.20",
"jquery": "^2.2.4",
"jquery-hotkeys": "^0.2.2",
"jquery-mousewheel": "^3.1.13",
Expand Down

0 comments on commit 9dd648c

Please sign in to comment.