Giter Site home page Giter Site logo

datisekai / boilerplate-sdk-react Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 42 KB

Boilerplate SDK React is a starter source code designed to help developers easily create npm libraries based on React. With this boilerplate, you can quickly start building your own library without the need for initial setup or building the infrastructure from scratch.

Home Page: https://github.com/datisekai/boilerplate-sdk-react.git

JavaScript 13.03% HTML 10.94% CSS 52.79% TypeScript 21.42% SCSS 1.82%
boilerplate boilerplate-react npm npm-template npmjs react reactjs reactjs-boilerplate sdk

boilerplate-sdk-react's Introduction

GitHub issues GitHub stars Contributions welcome code style: prettier GitHub licence

Examples made with ❤︎ by Datisekai
Created by Datisekai

Boilerplate SDK React

Boilerplate SDK React is a starter source code designed to help developers easily create npm libraries based on React. With this boilerplate, you can quickly start building your own library without the need for initial setup or building the infrastructure from scratch.

Getting started

Installing

Select a folder, navigate to it, and clone this repository with this command-line:

git clone https://github.com/datisekai/boilerplate-sdk-react.git <your_project_name>

Install dependencies

Check the package.json for the correct scripts to start projects. For example you can install dependencies:

npm install

To run the "example" source code to see the change:

  cd example
  npm install

Write components

To write components, you just need to write react code as usual at index.tsx

Publish npm

To publish to npm, you need to register for an npm account here NPM

Build the library:

npm run build

Update the project name and version in the package.json file.

  • Project Name: is the library name.
  • Version: is version at npm. Each time you publish, you must increase the version by 1, for example: 1.0.0 -> 1.0.1.

Login to your npm account:

npm login

Publish the library to npm:

npm publish

Start building your reliable and user-friendly React libraries using the Boilerplate SDK React today!

Note: Make sure you have a valid npm account and access to publish packages.

If you need any further assistance or have additional questions, please let me know.

boilerplate-sdk-react's People

Contributors

datisekai avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.