Natively Pluggable Module

    @sdl/controls-react-wrappers
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.0-59 • Public • Published

    SDL Controls React Wrappers

    This repository consists of React wrappers for Controls.

    It allows you to reuse Controls as React components.

    Releases

    See Releases.

    Building

    In order to build make sure you have Node.js installed (v6 or higher).

    Installing the necessary packages

    npm install gulp-cli -g
    npm install

    Gulp tasks

    # Build (debug)
    gulp build
    
    # Build everything and setup a server (debug)
    gulp serve
    
    # Build everything and setup a server (release)
    gulp serve:dist
    
    # Build (release)
    gulp
    
    # Test (debug)
    # Default browser is PhantomJS
    gulp serve:test
    gulp serve:test --browsers Chrome
    gulp serve:test --browsers "Chrome,IE,Firefox,PhantomJS"
    
    # Test (release)
    # Default browser is PhantomJS
    gulp test
    gulp test --browsers Chrome
    gulp test --browsers "Chrome,IE,Firefox,PhantomJS"
    
    # Measure test coverage
    # Default browser is PhantomJS
    gulp test-coverage
    gulp test-coverage --browsers Chrome
    gulp test-coverage --browsers "Chrome,IE,Firefox,PhantomJS"

    Setting up Visual Studio Code

    Preffered IDE for GUI development is Visual Studio Code.

    Some extensions you should install (Managing extensions):

    1. TSLint: get linting feedback as you type
    2. Editor Config: adds support for the .editorconfig file
    3. Document this: automatically generates detailed JSDoc comments in TypeScript and javascript files

    Keywords

    none

    Install

    npm i @sdl/controls-react-wrappers

    DownloadsWeekly Downloads

    1

    Version

    0.1.0-59

    License

    Apache-2.0

    Last publish

    Collaborators

    • oleksii
    • frnkclsst
    • beardcore
    • rumbalaidea
    • janb87
    • artefact-publishers