0.0.19 • Published 3 years ago

img-component v0.0.19

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

PACKAGE BUILDER SETUP:

-> run "yarn install" in the builder root directory to install the required deps.

GUIDE TO WRITE REACT COMPONENTS:

-> you can write your typescript react components in the src/components folder.

-> once the component is written, import it into src/index.ts by writing:

export * from './components/<component-name>'

within the index.ts.

GUIDE TO BUNDLE THE TSX FILES INTO THEIR CORRESPONDING JS AND ITS DECLARATION D.TS:

-> run "yarn build" and the bundled files will be present in dist folder.

GUIDE TO PUBLISH THE BUNDLED COMPONENTS:

-> run "npm login" and login with your npm creds.

-> run "yarn init" to configure the project props such as name, version, author, etc.

-> IMPORTANT: set "private" as true when prompted, to publish the component privately. Failing to do this will publish the component publicly and makes it visible for everyone.

-> then run "yarn publish" to finally publish your components privately.

0.0.19

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.1

3 years ago