ContaAzul / creditcard.js

A simple credit card validation library in JavaScript
http://contaazul.github.io/creditcard.js/
Other
374 stars 82 forks source link

Installation with npm fails #159

Closed dtillner closed 1 year ago

dtillner commented 1 year ago

With version 3.0.26 installation with npm fails with error "yarn not found".

Probably this is because of this line in package.json

"preinstall": "yarn dlx only-allow yarn",

I can't see why it should be necessary to limit this package to yarn.

Please remove this limitation.

cirocfc commented 1 year ago

Sorry about that guys... I accidentally added the same config for our internal packages that rely and only run on yarn when updating this project to yarn 3. Hope latest version ships ok.