dc-pattern-lib
TypeScript icon, indicating that this package has built-in type declarations

1.5.5 • Public • Published

dc-pattern-lib

Build Status npm package Coveralls

Getting started

$ git clone git@github.com:megumiteam/dc-pattern-lib-v2.git
cd dc-pattern-lib-v2
$ npm install
$ npm start

Browser check

npm start will be start to run two local server.

URL: http://localhost:3000/

It is a demo site to use the package. All source code are in demo/src directory.

And we can start the server by the following command.

# start all dev server 
$ npm start
 
# start the demo server 
$ npm run start-nwb

URL: http://localhost:6006/

It is a component catalog made by a Storybook. All source code are in stories/ directory.

And we can start the server by the following command.

# start all dev server
$ npm start

# start the demo server
$ npm run storybook

Contributing

$ git checkout -b YOUR_TOPIC_BRANCH

# edit some code
...

# Lint
$ npm run lint

# Test
$ npm test

# Push your branch
$ git push origin YOUR_TOPIC_BRANCH

# Then, you can make a Pull Request

Publish

We publish it from Travis CI. You should run the following command after merge your TOPIC BRANCH into the master branch.

$ git checkout master
$ git pull origin master
# Tag it ( https://semver.org/ ) 
$ npm version {major | minor | patch}

After run npm version, the npm run postversion will run to push the tag into GitHub. And Travis CI will start to build and publish it when you push a tagged branch.

Readme

Keywords

Package Sidebar

Install

npm i dc-pattern-lib

Weekly Downloads

0

Version

1.5.5

License

MIT

Unpacked Size

3 MB

Total Files

141

Last publish

Collaborators

  • emaildano
  • hideokamoto