[jira] [Commented] (OFBIZ-11960) Use NPM with gradle to get external JS dependencies

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11960) Use NPM with gradle to get external JS dependencies

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346075#comment-17346075 ]

Pierre Smits commented on OFBIZ-11960:
--------------------------------------

Hi Aditya,

What is the rationale behind wanting this in the code base? Is there a discussion on dev?

Best regards,

Pierre

> Use NPM with gradle to get external JS dependencies
> ---------------------------------------------------
>
>                 Key: OFBIZ-11960
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11960
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>            Priority: Trivial
>
> 1. Add [gradle-node-plugin|https://github.com/node-gradle/gradle-node-plugin]: Gradle plugin for integrating NodeJS in your build
> 2. Create [NPM|https://www.npmjs.com/] package.json with JS dependencies in webapp
> 3. Use available tasks to install dependencies
> [https://github.com/node-gradle/gradle-node-plugin/blob/master/docs/usage.md#executing-npm-tasks]
> [https://github.com/node-gradle/gradle-node-plugin/blob/master/docs/usage.md#configuring-the-plugin]
> 4. Use the downloaded JS files in node_modules, updating the current path of the JS files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)