1.0.26 • Published 5 years ago

@turtlemint/tm-components-web-test v1.0.26

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

Installation

yarn add '@turtlemint/tm-components'

Usage

import Button from '@turtlemint/tm-components/button';

Contribution

  1. git clone https://gitlab.com/turtlemint/tm-components.git
  2. yarn install
  3. yarn start
  4. do your thing and submit MR

What's more in this from base repo?

  1. Storybook configuration

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode. See the section about running tests for more information.

yarn run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about deployment for more information.

yarn run build:staging

Builds the app for staging to the build folder. It picks up the environment from the .env-cmdrc file staging object

yarn run lint

It simply runs tslint to list down the errors.

yarn run lint:fix

It fixes the errors if any of the lint

yarn analyze

This checks for bundle size and spins up a separate link for a view window

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Common Issues with git url

Issue - fatal: could not read Username for 'https://gitlab.com': terminal prompts disabled

Solution - Run this command git config --global --add url."git@gitlab.com:".insteadOf "https://gitlab.com"

1.0.26

5 years ago

1.0.24

5 years ago

1.0.22

5 years ago

1.0.17

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.12

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.11

5 years ago