Socket
Book a DemoInstallSign in
Socket

@sprucelabs/heartwood-components-react

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sprucelabs/heartwood-components-react

Heartwood React Components

0.0.2
latest
Source
npmnpm
Version published
Maintainers
9
Created
Source

Heartwood React Components

Local Setup

  • Clone the repo
git clone git@github.com:sprucelabsai/sprucebot-react-heartwood.git
  • Install NPM modules
yarn
  • Run the project

The project comes with an .env.example file, but you'll need to create your own .env file in the root directory and set your environments there. To get started quickly, you can set the hosts like so:

DEVTOOLSHOST=http://localhost:3001
LOG_LEVEL=warn
PERFTOOLS=true
HOST=http://localhost:3000
APIHOST=http://localhost:3000

And then run:

npm run storybook

Environment Variables

Environment variables may be defined via export or command line.

# Use stylesheets to override imported styles and do simple theming
STYLESHEETS=http://192.168.104.239:3000/stylesheets/global.css,https://some-client/styles.css

# Valid levels (in order) are: trace, debug, info, warn, error
LOG_LEVEL=debug

# Turns on https://github.com/garbles/why-did-you-update
PERFTOOLS=true

# The host for this project.  Used for redirection and pathing
HOST=https://local.sprucebot.ai

# The api host (if applicable)
APIHOST=https://local-api.sprucebot.ai

# The devtools host
DEVTOOLSHOST=https://local-devtools.sprucebot.ai

Editor Plugins

We recommend using the following plugins to enhance the development experience:

  • Flow https://github.com/flowtype/flow-for-vscode
  • Prettier https://github.com/esbenp/prettier-vscode
  • Stylelint https://github.com/shinnn/vscode-stylelint
  • ESLint https://github.com/Microsoft/vscode-eslint

Keywords

react

FAQs

Package last updated on 04 Oct 2018

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.