New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

atomic-fuel

Package Overview
Dependencies
Maintainers
0
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atomic-fuel

Atomic Jolt's front-end library code

latest
Source
npmnpm
Version
7.0.0
Version published
Weekly downloads
262
94.07%
Maintainers
0
Weekly downloads
 
Created
Source

🔋 Atomic Fuel

This package contains all of the front-end library code for Atomic Jolt apps. It includes all front-end code that was previously in the client/libs directory.

🧱 Installation

You should install atomic fuel into each individual app not in the client directory. Just add as a regular dependency.

yarn add atomic-fuel

🧑‍🔬 Usage

All of the code is found in the libs folder which has the following structure

libs/
-- actions
-- api
-- communications
-- components
-- constants
-- decorators
-- graphql
-- libs
-- loaders
-- middleware
-- reducers
-- specs_support
-- store

If you wanted to use, for example, libs/store/configure_store.js you would write the following:

import configureStore from 'atomic-fuel/libs/configure_store.js';

Alternatively, there is an index file which simply exports everything for convenience, so you can do this:

import { configureStore } from 'atomic-fuel';

🚧 Building

To build the lib folders and types run: yarn build

🧪 Testing

Run tests: yarn test

Run tests with Chrome DevTools (i.e. use debugger in your tests):

  • Open a Chromium browser at chrome://inspect
  • Click on the "Open dedicated DevTools for Node"

Then you can run tests using: yarn test:debug

Keywords

react

FAQs

Package last updated on 04 Sep 2024

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