Skip to content

ReneKrewinkel/atomic-bomb-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atomic Bomb Templates

Template Resources for the Atomic Bomb package.

Contributors needed

Contributors needed for adding more platform specific templates to atomic-bomb.

Structure

.
├── react
│   ├── [NAME].js
│   ├── [NAME].stories.js
│   ├── [NAME].test.js
│   ├── _[NAME].style.scss
│   ├── _index.scss
│   └── index.js
└── react.json

Each template consist of a directory and a JSON file with the same name. Contents of that JSON file is (for now) the location the Atomic dirs need to be deployed, for example the react.json now only holds (possible future enhancement):

{
  "search": "react",
  "platform": "react",
  "destination": "src/components",
  "scss": true
}

Where:

  • search: item in package.json/dependencies to look for
  • platform: which platform you are running (determines the template dir)
  • destination: directory where to put the components (configurable in downloaded/create $PROJECT_ROOT/.atomic-bomb)
  • scss: boolean, werther or not adding scss to atomic dirs

Current platforms

  • react: atomic-bomb --platform react --type atom --name Label
  • react-native: atomic-bomb --platform react-native --type atom --name Label
  • react TypeScript: atomic-bomb --platform react-ts --type atom --name Label

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published