2.1.0 • Published 6 years ago

react-simple-modal-ts v2.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react-simple-modal-ts

styled with prettier Travis Coveralls Dev Dependencies

A simple Modal Component for react

Usage

npm install react-simple-modal-ts --save

Start coding! package.json and entry files are already set up for you, so don't worry about linking to your main file, typings, etc. Just keep those files with the same name.

Features

Importing library

You can import the generated bundle to use the whole library generated by this starter:

import ReactSimpleModal from 'react-simple-modal-ts'

Additionally, you can import the transpiled modules from dist/lib in case you have a modular library:

import something from 'react-simple-modal-ts/dist/lib/something'

NPM scripts

  • npm t: Run test suite
  • npm start: Run npm run build in watch mode
  • npm run test:watch: Run test suite in interactive watch mode
  • npm run test:prod: Run linting and generate coverage
  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code
  • npm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)

Setup steps

From now on, you'll need to use npm run commit, which is a convenient way to create conventional commits.

2.1.0

6 years ago

2.0.0

6 years ago

1.0.1

6 years ago