xiaody / react-lines-ellipsis

Simple multiline ellipsis component for React.JS

Home Page:https://xiaody.github.io/react-lines-ellipsis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove browserify references from package.json

damassi opened this issue · comments

Wondering, why are these lines needed? I'm getting this error in my env:

Error: Cannot find module 'aliasify' from '/Users/damassi/Sites/artsy/reaction  /node_modules/react-lines-ellipsis'

Error: Cannot find module 'babelify' from '/Users/damassi/Sites/artsy/reaction  /node_modules/react-lines-ellipsis'

As background, I'm using this lib in another lib which is then imported by a third app. The third app, when executing the code, runs into issues with Browserify. Since the package is compiled by babel, why force these additional steps on the consumer?

Didn't know that browserify reads package.json#browserify#transform even for modules in /node_modules. v0.8.0 renames those lines to browserify#docs because they are only used for building the github pages. Hope it works for you!

Thank you!