-
-
Notifications
You must be signed in to change notification settings - Fork 54.5k
Development
vagusX edited this page Jul 28, 2024
·
17 revisions
├── components # react source code and demos
├── docs # documentation in markdown
├── scripts #
├── site # website layout and code
└── package.json
Fork and git clone.
$ npm install
$ npm start
// change start theme
$ DEV_THEME=dark npm startThen visit http://127.0.0.1:8001
$ npm run lint$ npm test$ npm test components/button/__tests__/index.test.js$ npm test -uPublish site to gh-pages
$ npm update && npm run deploynpm publish tip for Administrators:轮值规则和版本发布流程
Warning
ImageSnapshots from target branch should named as imageSnapshots-{targetBranch} in projectRoot, like imageSnapshots-master.
Tip
You can download imageSnapshots from target branch or run npm run test-image locally on target branch to generate imageSnapshots
npm run test-image
# --base-ref should be the target branch you want to compare
LOCAL=1 npm run test:visual-regression -- --base-ref=master --pr-id=anything- Home
- Cookbook
- FAQ
- Template for Bug Report in IE8 9
- Contributing
- Maintaining
- Design