dc-pattern-lib v1.5.5
dc-pattern-lib
Getting started
$ git clone git@github.com:megumiteam/dc-pattern-lib-v2.git
$ cd dc-pattern-lib-v2
$ npm install
$ npm startBrowser 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-nwbURL: 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 storybookContributing
$ 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 RequestPublish
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.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago

