🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@caedman/gs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@caedman/gs

a repo to start with atomico

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

base

Welcome to Atomico as an author, I hope your experience of use is memorable!

this configuration provides you with a structure to start with Atomico in an agile way thanks to bundle-cli, with this configuration you will be able to:

1.- Documentar y desarrollar desde un fichero markdown o html , bundle-cli se encargara de extraer sus script, estilos y otros desde ficheros markdown o html, eg:

# Atomico size is less than 4kb

and I'm a markdown file ...

<!--
Now some magic of bundle-cli, bundle-cli extract
the [src] of the tags and export the scripts to Rollup and more.
-->

<my-component></my-component>

<script src="./my-component.js" type="module"></script>

In summary an effect similar to MDX but with Markdown.

2.- LiveReload, local server and an incremental file watcher, If you create a new markdown or html file, it will be added to the export queue to be viewed on the local server. Likewise, the changes associated with the exported files will refresh the browser automatically (LiveReload).

3.- Easily export all your components and hooks in separate files.

Scripts

npm start: Create a Server + LiveReload for your project, with this you will be able to view all its components from the port that will be shown by console according to availability. I hope you like the interface shown by the server

npm run create:component: Create a folder inside the src/components folder with everything you need to get started with your component, the folder to be created adheres to the Atomico style guides.

npm run build: Export the documentation and minify the js code and the associated css.

npm run build:all: Export all files that comply with the expression src/**/**/*-*.js;, under Atomico style guides their components and hooks will be automatically exported

Other resources of interest

FAQs

Package last updated on 17 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts