react-tree-menu icon indicating copy to clipboard operation
react-tree-menu copied to clipboard

Precompiled lib, use webpack and update dependency versions

Open scags9876 opened this issue 8 years ago • 5 comments

Some useful stuff in here, thought others might benefit from these changes.

  • using webpack instead of grunt and browserify
  • including a prepublish script to precompile transpiled code and include it in a lib directory in the package published on npm
  • upgrading dependencies to work with react 15
  • upgrade to lodash 4.x

scags9876 avatar Feb 15 '17 21:02 scags9876

Addresses:

#23 #19 #21

scags9876 avatar Feb 15 '17 21:02 scags9876

@scags9876 have you published your 'fork' to npm ?

If that's not the case, how can one use your code directly from github (since the compiled lib doesn't exist in github)

jbrodriguez avatar Jul 19 '17 16:07 jbrodriguez

@jbrodriguez I have not published to npm... I'm waiting for @MandarinConLaBarba to merge this PR so he can publish.

In the meantime, i've got the following in my package.json:

"react-tree-menu": "git://github.com/scags9876/react-tree-menu.git",

It points to my master branch on my fork, which has the precompiled lib... see https://github.com/MandarinConLaBarba/react-tree-menu/pull/31#issuecomment-280138789

scags9876 avatar Jul 19 '17 20:07 scags9876

this PR now includes the fix for the undefined PropType from https://github.com/MandarinConLaBarba/react-tree-menu/pull/33

scags9876 avatar Jan 12 '18 22:01 scags9876

@jbrodriguez I have not published to npm... I'm waiting for @MandarinConLaBarba to merge this PR so he can publish.

In the meantime, i've got the following in my package.json:

"react-tree-menu": "git://github.com/scags9876/react-tree-menu.git",

It points to my master branch on my fork, which has the precompiled lib... see #31 (comment)

Thanks!! helped me a lot!! /o/ Mandou muito! (BR)

xitarps avatar Nov 26 '21 17:11 xitarps