Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielweinbrenner/npm-react-components-boilerplate
https://github.com/gabrielweinbrenner/npm-react-components-boilerplate
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gabrielweinbrenner/npm-react-components-boilerplate
- Owner: GabrielWeinbrenner
- License: apache-2.0
- Created: 2020-12-02T16:01:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-21T02:21:23.000Z (about 4 years ago)
- Last Synced: 2024-11-07T02:42:47.685Z (2 months ago)
- Language: JavaScript
- Size: 241 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://npmjs.com).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
- [`npm version [patch | minor | major]`](https://docs.npmjs.com/about-semantic-versioning)
Then publish your package by running
- `npm publish`
### Happy Building ♡