ace-grammar icon indicating copy to clipboard operation
ace-grammar copied to clipboard

Publish library as node / bower module

Open mstefaniuk opened this issue 8 years ago • 4 comments

It would be nice to publish your library for easy use.

mstefaniuk avatar Apr 01 '16 11:04 mstefaniuk

Hi, although i use node/npm i havent published any of the libraries i make as npm modules (bower i dont use, as i have my own build framework).

However if one wants to undertake this task, is fine with me.

foo123 avatar Apr 01 '16 12:04 foo123

Hi, I've tested Ace-Grammar on the site, the result is impressing. I would like to add it to my ace editor but I don't figure out what files are necesary. The files in build raise errors "e.split is not a function". What did I miss ? @mstefaniuk you're right ! A module will be wellcome !!

blixit avatar Jun 06 '17 00:06 blixit

@blixit all the necesssary files are in this repository and editor-grammar repository (common invariant code and utilities). i build the files with my custom build tool (Beeld) but reading the configuration is very easy and could easily be made into grunt or sth like that.

Like i said although i use node modules i havent published anything as a node module, but anyone feeel free to undertake the task (i'm not so familiar of how to make a node module and publish it and i dont have the time right now)

Thanks

foo123 avatar Jun 06 '17 06:06 foo123

@blixit Btw the already built ace-grammar (https://github.com/foo123/ace-grammar/tree/master/build) uses umd and works in node as well as browser etc..

foo123 avatar Jun 06 '17 06:06 foo123