New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-sapui5

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-sapui5

Extension for SAPUI5 build

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
121
decreased by-20.92%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-sapui5

Recently SAP released new Web IDE version and grunt plugin for building SAPUI5 projects.

You can find more details here:

https://www.sap.com/developer/tutorials/webide-grunt-basic.html

or here:

https://help.sap.com/viewer/825270ffffe74d9f988a0f0066ad59f0/T03b.2017/en-US/1e375da920484bbcb7c46b7b369f137e.html

After starting using it I found a problem: plugin @sap/grunt-sapui5-bestpractice-build didn't work for libraries

Reviewing the source code I realized that in fact it was just a plugin reusing grunt-openui5 plugin but in a very restricted configuration.

Also there were more issue we solved with the current plugin:

  • We left minified Component.js file in the build ( sometimes while navigation we still need them )
  • We transform folder name into module name ( a.b.c into a/b/c ) in preload-* files

Getting Started

This plugin can be used both locally and in the cloud-based IDE. To use it you need to have at least one dependency in your package.json file

  "devDependencies": {
    "grunt-sapui5": "^1.3.18-g"
  }

To build the project you'll need Gruntfile.js containing at least these lines:

module.exports = function (grunt) {
    'use strict';
    grunt.loadNpmTasks('grunt-sapui5');
};

To build the project just type grunt in the console for your project.

Please notice the standard SAP plugin requires webapp folder.

Meanwhile you can redefine config in your Gruntfile.js in a similar way like I did in sapui5.js

To use it locally you will need to register @sap namespace like this:

  npm config set @sap:registry "https://npm.sap.com" -g

Release History

(Nothing yet)

Keywords

FAQs

Package last updated on 27 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc