@ui5/create-webcomponents-package

1.24.0 • Public • Published

UI5 icon

UI5 Web Components - Create Package

npm Package Version

Provides an npm init script for creating new "UI5 Web Components" packages.

Usage with npm

Usage:

# npm 6.x
    npm init @ui5/webcomponents-package [OPTIONS]
# npm 7+, an extra double-dash is needed:
    npm init @ui5/webcomponents-package -- [OPTIONS]

Options:
    --name <string>     - defines the package name
    --component-name <string>      - defines the component class name that will be created in your new package
    --tag <string>      - defines the tag name of the sample web component that will be created in your new package. The tag will be derived from the component name if not provided.
    --enable-typescript - enables TypeScript support for the package
    --skip              - skips configuration and generates package with a default value for each parameter that wasn't passed

The script creates a new directory, and fills it with a package.json file and all necessary source files, and resources for a new components package.

Usage with yarn

Usage:
    yarn create @ui5/webcomponents-package [OPTIONS]
Options:
    --name <string>     - defines the package name
    --component-name <string>      - defines the component class name that will be created in your new package
    --tag <string>      - defines the tag name of the sample web component that will be created in your new package
    --enable-typescript - enables TypeScript support for the package
    --skip              - skips configuration and generates package with a default value for each parameter that wasn't passed

The script creates a new directory, and fills it with a package.json file and all necessary source files, and resources for a new components package.

Resources

Support

We welcome all comments, suggestions, questions, and bug reports. Please follow our Support Guidelines on how to report an issue, or chat with us in the #webcomponents channel of the OpenUI5 Community Slack.

Contribute

Please check our Contribution Guidelines.

License

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the LICENSE file.

Readme

Keywords

Package Sidebar

Install

npm i @ui5/create-webcomponents-package

Weekly Downloads

43

Version

1.24.0

License

Apache-2.0

Unpacked Size

82.3 kB

Total Files

33

Last publish

Collaborators

  • ui5-webc-bot
  • matz3
  • pmuessig
  • randombyte
  • nnaydenow
  • vladitasev
  • adr1ann
  • ilhan007