@nexpy/design-system
v3.1.8
Published
Nexpy design system.
Downloads
217
Readme
Nexpy Design System
Important: Storybook temp removed.
Docs
You can visit the full documentation of available components and tools here.
Installation
Package Manager
Use the package manager yarn to install the dependencies.
Important: Make sure you have the yarn installed globally as it is necessary for use the project's features.
Install yarn with the following command:
npm install -g yarnInstall this Package From NPM
yarn add @nexpy/design-systemor
npm install @nexpy/design-systemDependencies
Install dependencies with the following command:
yarnPrepare
yarn prepareThis command will install the husky hooks in the git repository to control preprocessors for commits and pushes, such as code formatters and Eslint, and the required automatic project settings.
Available scripts and usage
If you look at the scripts inside package.json you will see several methods, among them:
Run development server
yarn devA server with a fast refresh for development. Do not use for production.
Reinstall dependencies
yarn reinstallAsynchronously deletes all dependencies and reinstalls using yarn.
Commit your changes
yarn commitUse the yarn commit command to start the git-cz cli. With
that we can make the commits in a standardized way.
Create production build
yarn build:distCreates an optimized distribution build of the design system.
Check typing
yarn type:checkRun a test using the TypeScript compiler to identify code typing failures.
Start debug server
yarn debugStarts the development server with debug options. V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug and profile Node.js instances.
Automatically format code
yarn prettierAuto-formats code using Prettier. This command writes possible corrections to the project files.
Check code style
yarn prettier:checkChecks that all files follow the style pattern without changing them, reporting possible errors to the console.
Fix code integrity
yarn eslintLooks for code integrity errors and fixes where possible. This command writes possible corrections to the project files.
Check code integrity
yarn eslint:checkLooks for code integrity errors in all files without changing them, reporting possible errors to the console.
Run development storybook server
yarn storybookA server with a fast refresh for components documentation development. Do not use for production.
Buid storybook
yarn build:docsCreated a production build for storybook.
