Touch-React-Components
- React components for touch screens enable application.
Why ?
This is a mono-repo has been create to share and collaborate on components for interactive screens.
What's inside ?
- adsum-map
- adsum-steplist
- adsum-loadingScreen
- adsum-az-scroller
- adsum-carousel
- adsum-clock
- adsum-itemCarousel
- adsum-keyboard
- adsum-screensaver
- adsum-search
- adsum-utils
- adsum-qrCode
Stack
- React
- Redux
- Flow
How to contribute ?
Getting Started
-
Open a terminal in the root folder
-
Install Lerna globally
npm install --global lerna
-
Set up your git environment
git config --global credential.helper wincred
git config --global user.name "name"
git config --global user.email yourEmail
*For more Info: https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
-
Login to Adactive NPM Account
npm login
**To check for Adactive credentials with Adactive team
To add a new component
-
Create a new branch from develop
git checkout -b feature/componentName
-
Create a new folder name 'adsum-component' in packages. For example to create a keyboard component:
adsum-keyboard
-
In the coponent folder, init the following items as shown:
- package.json
{ "name": "@adactive/arc-keyboard", "version": "0.0.1", "description": "Adsum Keyboard Component", "main": "index.js", "author": "yourName <yourEmail>", "license": "UNLISENCED", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/AdactiveSAS/adsum-react-components.git" }, "bugs": { "url": "https://github.com/AdactiveSAS/adsum-react-components.git/issues" }, "scripts": {}, "publishConfig": { "access": "public" }, "keywords": [ "adsum", "react", "redux" ] }
** Replace 'keyboard' with the name of your component
"publishConfig": { "access": "public" },
** This properties set the repository to a public repository. To create a private repository, remove this property from package.json.
- README.md
- Changelog.md
-
Start developing
-
Submit for PR
-
Once approved, run the following command:
Lerna publish