Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.01 KB

File metadata and controls

39 lines (21 loc) · 1.01 KB

Repl Auth React

A React JS version of Repl Auth. This version has customizable button text, and styling.

How to use

npm-react-typescript-template

A template for publishing a React + TypeScript package to npm

How to use

Fork this repo, clone it to your local computer, and edit the package.json along with every other required file to match your project. Write the code for your package in TypeScript and Sass, compile it, and publish it to npm.

To compile your code once, run

  • npm run build.

To compile your code once and refresh on file change, run

  • npm run start.

To publish your package to npm, make sure you're logged in the correct account by running

  • npm login.

Compile your package by running

  • npm run build

Update the package version accordingly by using

Then publish your package by running

  • npm publish

Happy Building ♡