This project was bootstrapped with Mohsen babaei.
You can use this package like any other packages:
First you must run this command, After executing this command, it will give you a built-in version.
Now by executing this command, it will give you a *.tgz file that you can put in your project.
You can use it by adding the link of this package inside the package.json :
"dependencies": {
"design-system": "file: ./react-design-system-0.1.0.tgz"
},
Now, after executing the npm install
or npm install design-system
command, you can use it anywhere in the project.
Enjoy it 🙂.
In the project directory, you can run:
Runs the design system in the localhost.
Open http://localhost:6006 to view it in the browser.
Builds the design system to the storybook-static
folder.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
You can use the following documents to better understand the code for developing or editing system design:
Badge