@inspectionxpert/ix-ui-library
The InspectionXpert design system is a subset of the full [Ant Design component library](https://ant.design/docs/react/introduce).
Last updated 4 months ago by ryanmee .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install @inspectionxpert/ix-ui-library 
SYNC missed versions from official npm registry.

The InspectionXpert design system

The InspectionXpert design system is a subset of the full Ant Design component library.

Structure

Components are created within folders that share the same name under the src directory.

Files in the component Folder: -component.js (component file) -component.stories.js (component storybook file) -component.mdx (markup file for storybook documentation) -component.test.js (tests in jest+enzyme) -component.less (component's styles)

-src -component -component.js -component.stories.js -component.mdx -component.test.js -componentTests.js (optional) -component.less (optional)

Build and Run

To build Storybook: npm run build-storybook To build Storybook docs: npm run build-storybook-docs To build and run: npm run storybook

Testing

To run the full suite of jest and snapshot tests run the command: npm run test:storybook

Tests are written in *.test.js files within each component's folder. And additinal *Tests.js file is created which exports tests as modules. These modules are imported into the component Stories where they are run with the specifications plugin. It isn't required that the *Tests.js file is created and added to the stories, but it does add an easy to find visual for checking test results when running Storybook.

Additionally component's Story is run through the Storybook snapshot and image snapshot plugins to check for structural and visual regressions. The configuration for this is already set and doesn't require any setup when creating components.

Current Tags

  • 0.1.16                                ...           latest (4 months ago)

17 Versions

  • 0.1.16                                ...           4 months ago
  • 0.1.15                                ...           4 months ago
  • 0.1.14                                ...           4 months ago
  • 0.1.13                                ...           4 months ago
  • 0.1.12                                ...           4 months ago
  • 0.1.11                                ...           4 months ago
  • 0.1.10                                ...           4 months ago
  • 0.1.9                                ...           4 months ago
  • 0.1.8                                ...           5 months ago
  • 0.1.7                                ...           5 months ago
  • 0.1.6                                ...           5 months ago
  • 0.1.5                                ...           5 months ago
  • 0.1.4                                ...           5 months ago
  • 0.1.3                                ...           5 months ago
  • 0.1.2                                ...           5 months ago
  • 0.1.1                                ...           5 months ago
  • 0.1.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 17
This Month 17
Last Day 0
Last Week 0
Last Month 0
Dependencies (63)
Dev Dependencies (57)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |