On 02/28/2013 09:26 PM, Jeff Charette wrote:
>> I recently wrote a tiny little grunt plugin (for current grunt 0.4),
>> based on the same directory layout convention as couchapp / erica. It
>> just compiles a design document and sends it to a database.
>> Grunt makes it very easy to built such a tool with 100 lines of code.
>>
>> https://github.com/null2/grunt-couch
> Nice work, great start.  I would love to see options for minifying when 
> pushing to production and maybe some helpers for reading in documents.
> Like this http://kan.so/docs/Working_with_JSON_data .
thanks :)
It's all there!
The idea is to use other grunt tasks for this, grunt-contrib-concat,
grunt-contrib-uglify, grunt-contrib-cssmin, grunt-contrib-htmlmin,
grunt-contrib-jade - the whole stack (grunt-contrib,
http://gruntjs.com/plugins) to manipulate the source files and then put
them to a location where they can be compiled into design documents by
grunt-couch.
>
> Also would love to hear peoples thoughts on package management for couchapps. 
>  Maybe another thread.  I guess you could use npm, but then how do you know 
> if it will work with couch in a couch way.
>
> I wish we all could get around one couchapp tool.
>
> Jeff Charette | Principal 
> We Are Charette
> web / identity / packaging
>
> m  415.298.2707
> w  wearecharette.com
> e   [email protected]
>
> On Feb 28, 2013, at 3:13 PM, "Johannes J. Schmidt" <[email protected]> 
> wrote:
>
>> On 02/28/2013 07:09 PM, Jeff Charette wrote:
>>>>> Will it be exposed to the user in futon itself so they can learn from it? 
>>>>> Hard to see from source.
>>>> Not sure what you mean? 
>>> I mean as a database you can dig into.  Not hidden.
>>>
>>>>> Would be amazing to use couch app itself to generate it or kanso.
>>>> It's using grunt to build and deploy it (which has a wider user community).
>>> Has anyone done work with grunt to use a dependency manager like kanso? 
>>>
>>> When I look at grunt I see very little in the way of helpers and support 
>>> from a couchapp perspective.
>>> https://github.com/elfsternberg/grunt-couchapp
>> I recently wrote a tiny little grunt plugin (for current grunt 0.4),
>> based on the same directory layout convention as couchapp / erica. It
>> just compiles a design document and sends it to a database.
>> Grunt makes it very easy to built such a tool with 100 lines of code.
>>
>> https://github.com/null2/grunt-couch
>>
>> Cheers
>> Johannes
>>> Jeff Charette | Principal 
>>> We Are Charette
>>> web / identity / packaging
>>>
>>> m  415.298.2707
>>> w  wearecharette.com
>>> e   [email protected]
>>>
>>> On Feb 28, 2013, at 12:45 PM, Simon Metson <[email protected]> wrote:
>>>
>>>> Hi Jeff,
>>>>
>>>>> Will it be exposed to the user in futon itself so they can learn from it? 
>>>>> Hard to see from source.
>>>> Not sure what you mean? 
>>>>> Would be amazing to use couch app itself to generate it or kanso.
>>>> It's using grunt to build and deploy it (which has a wider user community).
>>>> Cheers
>>>> Simon
>>>>
>

Reply via email to