Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openui5-dist

Package Overview
Dependencies
Maintainers
1
Versions
325
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openui5-dist

The NPM package contains the OpenUI5 framework and the script for building the NPM package. This package does not modify openui5 content, it just packages it for distribution via NPM.

  • 1.108.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-22.86%
Maintainers
1
Weekly downloads
 
Created
Source

openui5-dist

The NPM package contains the OpenUI5 framework and the script for building the NPM package. This package does not modify openui5 content, it just packages it for distribution via NPM.

OpenUI5 is the open-source part of the SAPUI5 framework which is used to build SAP Fiory applications. You can freely use OpenUI5 in your projects.

Use openui5-dist NPM packageit to build OpenUI5 application

Install openui5-dist package in your project

npm install openui5-dist

And then serve the OpenUI5 file from NPM package.

Example for express

const app = express();

//Path to example application
app.use(express.static("./public/"));

//Path to openui5
app.use(express.static("./node_modules/openui5-dist/dist/"));

//Start web server
app.listen("3000", function() {
	    console.log("Listening on port %d", "3000");
});

Example application

I have created the example application which uses OpenUI5 framework packaged by the openui5-dist package.

To use the application clone repository

git clone https://github.com/norbertvolf/openui5-dist-example.git

Install dependencies

cd openui5-dist-example
npm install

Run web server

npm start

And open the http://localhost:3000/index.js in your browser;

Use it to build your own OpenUI5 distribution

You can use index.js to prepare OpenUI5 distribution and then use it. The script clone openui5 repository to the working directory and then build the OpenUI5. When OpenUI5 is ready It copies the OpenUI5 files to the dist directory of the project and You can use npm publish to upload the openui5 files to the npm registry.

I have tested the script only on my linux machine.

Create your own openui5 distribution

git clone git@github.com:norbertvolf/openui5-dist.git
cd openui5-dist
npm install

Update version in the package.json by corresponding version of OpenUI5 framework and run the script for building the OpenUI5 distribution.

node ./bin/publish.js

Keywords

FAQs

Package last updated on 09 May 2023

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