New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-typescript-library-rollup-jest

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-typescript-library-rollup-jest

Example of NPM React library built with Babel, Rollup, Jest, Typescript, ESLint and Travis CI

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

React Typescript sample library

dependencies Status devDependencies Status License: MIT

Read detailed description/tutorial on https://www.grzegorowski.com/publishing-react-typescript-library-rollup-jest/ or check example package https://github.com/jmarceli/react-typescript-library-rollup-jest.

Usage

This is a starting point for creating your own custom React Typescript components package, so you can easily share them with community through the NPM.

  1. Clone this repository git clone git@github.com:jmarceli/react-typescript-library-rollup-jest.git
  2. Adjust REAMDE.md content (e.g. paths in badges above)
  3. Replace all occurrences of react-typescript-library-rollup-jest with your package name and jmarceli with your github username
  4. Remove .git/ directory
  5. Clean src/ folder
  6. Add your own code to src/
  7. Export all components from src/index.tsx file (see current src/index.tsx for sample code)
  8. Develop your package (use example/ directory to test it)
  9. Adjust package.json file according to your needs especially set version to initial value e.g. 0.0.0
  10. Publish your package to npm with e.g. npm version patch followed by npm publish

License

MIT

Author

Jan Grzegorowski

Keywords

FAQs

Package last updated on 14 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc