ta-app-config

TA platform utils for node.js and the browser

Usage no npm install needed!

<script type="module">
  import taAppConfig from 'https://cdn.skypack.dev/ta-app-config';
</script>

README

ta-app-config

Circle CI

Centralized web app config.

Install

npm i ta-app-config --save

What's Included

  • App names
  • Env specific location info (protocol, host, port, href)

Usage

import taAppConfig from 'ta-app-config'

const unityConfig = taAppConfig.unity

// env specific location info
console.log(unityConfig.locations[NODE_ENV])
//=> { protocol: '', host: '', port: '',  href: '' }

// favicons
const icon = <img src={unityConfig.favicon} /> 

Contribute

  1. Clone this repo
  2. Create a branch
  3. Make changes, push
  4. Open a PR

Releasing

On the latest clean master:

npm run release:major
npm run release:minor
npm run release:patch