hult-sb-ui
v1.0.1-alpha.169
Published
## Development
Downloads
93
Keywords
Readme
Hult SB Component Library
Development
Pre-requisites
- Install node.js if needed (https://nodejs.org/en/).
# Install dev dependencies
- npm install
Configure the application
Create a .env
file containing the environment variables from the table below
| Variable Name | Description | How to find it | | :------------ | :--------------------------------------------: | --------------------------------------------------------: | | NPM_TOKEN | Used to automate publishing of the npm package | https://docs.npmjs.com/creating-and-viewing-access-tokens |
Running the development server
- Due to the npm token in the .npmrc file the environment has to be exported to the terminal, this can be done using the following command
set -a # automatically export all variables
source .env
set +a
- In a command prompt, run
npm start
.