@diemtarh/hello-world
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

Template to build and publish a TypeScript React Components To NPM

Here is a simple TypeScript-React component for NPM publishing with minimal dependencies. Use that as a template to provide you own amazing component collections as npm packages. Have a fanny coding.

Usage

npm i @diemtarh/hello-world

in you REACT code simple

<HelloWorld color={'red'}/>

enjoy.

Customizing

Clone repository https://github.com/Hammdie/hello-world.git

Change properties 'name', 'author', 'repository', and possibly 'version' in package.json with yous own.

Put your changes and components in tsx format to src folder. Use all benefits from TypeScript coding.

Build

# tsc

or

# npm run build

Publish

# npm run publish-patch

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i @diemtarh/hello-world

    Weekly Downloads

    2

    Version

    1.0.12

    License

    ISC

    Unpacked Size

    3.28 kB

    Total Files

    6

    Last publish

    Collaborators

    • diemtarh