[Pkg-javascript-devel] packaging JsSIP - npm, grunt, etc

Jérémy Lal kapouer at melix.org
Sun Feb 24 00:17:33 UTC 2013


On 24/02/2013 00:19, Daniel Pocock wrote:
> 
> I've had a look at JsSIP:
> 
> https://github.com/versatica/JsSIP
> 
> In particular, it is built using a tool called grunt, and that requires
> nodejs and the npm tool
> 
> It also pulls in some other dependencies:
> 
> https://github.com/opentelecoms-org/JsSIP/blob/master/package.json#L23
> 
>   "devDependencies": {
>     "grunt": "0.3.17",
>     "pegjs": "0.7.0",
>     "node-minify": "~0.7.2"
>   },
> 
> 
> I'm just wondering what is the approach here:
> 
> a) should I iteratively create packages for everything in this hierarchy?

That's the idea, unless, since you are talking about build-deps,
you can figure a simpler build script that does not use grunt.
Note that node-minify is (a wrapper around) uglifyjs.
You might have to package "only" pegjs and its dependencies.

If grunt is unavoidable, please contact Marcelo at [0].

Jérémy.


[0]
http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/2013-February/004850.html





More information about the Pkg-javascript-devel mailing list