Skip to content
This repository was archived by the owner on Oct 16, 2019. It is now read-only.

Commit 998ca84

Browse files
authored
Merge pull request #105 from cogito-study/readme
Update README
2 parents 66dc6cd + b13516a commit 998ca84

1 file changed

Lines changed: 27 additions & 29 deletions

File tree

README.md

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,42 @@
1-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
1+
# alea
22

3-
## Available Scripts
3+
![https://img.shields.io/npm/v/@cogito-study/alea](https://img.shields.io/npm/v/@cogito-study/alea) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat)](https://github.com/prettier/prettier) ![https://img.shields.io/github/license/mashape/apistatus.svg](https://img.shields.io/github/license/mashape/apistatus.svg)
44

5-
In the project directory, you can run:
5+
## What?
66

7-
### `npm start`
7+
The design system and building blocks of every Cogito product. 🎲
88

9-
Runs the app in the development mode.<br>
10-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
9+
**alea:** latin phrase for _dice, cube_
1110

12-
The page will reload if you make edits.<br>
13-
You will also see any lint errors in the console.
11+
> Alea iacta est ("The die is cast") is a variation of a Latin phrase attributed by Suetonius to Julius Caesar on January 10, 49 B.C. as he led his army across the Rubicon river in Northern Italy.
1412
15-
### `npm test`
13+
## Why?
1614

17-
Launches the test runner in the interactive watch mode.<br>
18-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
15+
There are a **lot of** great React UI component libraries, such as [Material UI](https://material-ui.com), [Ant Design](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwie5e6f-trkAhUkxMQBHTjOD_EQFjAAegQIBxAC&url=https%3A%2F%2Fant.design%2Fdocs%2Freact%2Fintroduce&usg=AOvVaw29Ajs22mg1xqwr3Sl0aYod), [Semantic UI](https://react.semantic-ui.com/), [Grommet](https://v2.grommet.io/) and the list goes on. Although we couldn't find a proper one which fits our custom needs without making any compromise.
1916

20-
### `npm run build`
17+
On the other hand based on our early experiences we struggled a lot with component development within our application, so we wanted to create an isolated environment where we can iterate fast on component building, styling and visual testing. With the success of popular component documentation and development tools ([Storybook](http://storybook.js.org), [Docz](http://docz.site), [Styleguidist](https://react-styleguidist.js.org/)) we found our solution.
2118

22-
Builds the app for production to the `build` folder.<br>
23-
It correctly bundles React in production mode and optimizes the build for the best performance.
19+
## Goal
2420

25-
The build is minified and the filenames include the hashes.<br>
26-
Your app is ready to be deployed!
21+
Starting from scratch is always a hard decision, but our goal is to create and maintain a single source of truth of our design system and our [web app](https://app.cogito.study) component library. We don't want to create another popular open source UIKit. Since we only depend on open source projects so it was a no brainer to make our library open as well.
2722

28-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
23+
> ⚠️ It's still a heavily work in progress library and only fits our custom needs.
2924
30-
### `npm run eject`
25+
## Built With
3126

32-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
27+
- [React](http://reactjs.org) with [create-react-app](https://github.com/facebook/create-react-app)
28+
- [TypeScript](http://www.typescriptlang.org)
29+
- [styled components](https://www.styled-components.com)
30+
- [styled-system](http://styled-system.com)
31+
- [Storybook](http://storybook.js.org)
32+
- [ESLint](http://eslint.org)
33+
- [stylelint](https://stylelint.io)
34+
- [Prettier](http://prettier.io)
35+
- [renovatebot](http://renovatebot.com)
36+
- [Github Actions](https://github.com/features/actions)
3337

34-
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.
38+
## Inspired By
3539

36-
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.
37-
38-
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.
39-
40-
## Learn More
41-
42-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
43-
44-
To learn React, check out the [React documentation](https://reactjs.org/).
40+
- [Github's Primer Component](https://primer.style/components/)
41+
- Artsy's [Reaction](https://github.com/artsy/reaction) and [Palette](https://github.com/artsy/palette)
42+
- [Rebass](http://rebassjs.org)

0 commit comments

Comments
 (0)