mindedge-laika
v0.1.4
Published
MindEdge Design Pattern Library
Downloads
2
Keywords
Readme
🚅 Quick start
Install the dependencies.
Navigate into the repo’s root directory and install the necessary dependencies.
# Navigate to the directory cd laika/ # Install the dependencies yarn
To work in storybook run the following to serve the site
In the root directory of the project, run
yarn storybook
to see the component's stories athttp://localhost:6006
Testing
Run
yarn test
to run Jest testingStyling
Keep styles specific to components scoped to those components. Global styles should be imported into storybook. This version of storybook is set up to work with sass and normal css.
🔎 What's inside?
A quick look at the top-level files and directories
.
├── .storybook
├── node_modules
├── public
├── src
├── tests
├── .browserslistrc
├── .eslintrc.js
├── .gitignore
├── babel.config.js
├── jest.config.js
├── LICENSE
├── yarn.lock
├── package.json
└── README.md
.storybook
: This directory contains Storybook's configuration files.node_modules
: This directory contains all of the modules of code that your project depends on (npm packages).public
: This directory will contain the development and production build of the site.src
: This directory will contain all of the code related to what you will see on your application.tests
: This directory will contain all of unit test files for your project..browserslistrc
: This file will contain the information regarding which browsers will be supported when the application is built..eslintrc.js
: This file contains the linting configuration for eslint..gitignore
: This file tells git which files it should not track or maintain during the development process of your project..babel.config.js
: This file tells babel how to transpile the application's code.jest.config.js
: This is a configuration file for Jest.package.json
: Standard manifest file for Node.js projects, which typically includes project specific metadata (such as the project's name, the author among other information). It's based on this file that npm will know which packages are necessary to the project.yarn.lock
: This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (Do not change it manually).README.md
: A text file containing useful reference information about the project.
Learning Storybook
- Read the official StoryBook docs
- Learn about Design Systems for Developers in this official Storybook tutorial.
Publish to NPM
- download npmrc
npm install -g npmrc
- log in to the mindedge npm account via terminal, login details on lastpass shared tech folder
npmrc mind-edge
cd
into the laika folder- Run
npm publish