0.4.1 • Published 4 months ago

fbx-sdk v0.4.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
bitbucket
Last release
4 months ago

Description

FancyBox SDK written in Typescript

Table of Contents

Getting started

Step 1: Set up the Development Environment

You need to set up your development environment before you can do anything.

install latest 16.x NodeJS LTS version

Install Node.js and NPM (install latest 16.x LTS version)

  • on OSX use homebrew brew install node
  • on Windows use chocolatey choco install nodejs
  • with nvm nvm install v16

Install yarn globally

yarn install yarn -g

If you work with a mac, we recommend to use homebrew and nvm for the installation.

Husky commands

Create a file in ~/.huskyrc with the following command:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

Step 2: Create new Project

Pull this repository then copy the ./config/configs.json.example file and rename it to ./config/configs.json.

edit this file with... TODO

Step 3: Start your App in development

Go to the project dir and start your app with this yarn script.

yarn start:dev

This starts a local server using nodemon, which will watch for any file changes and will restart the sever according to these changes.

Build application and run locally

Go to the project dir and build your app with this yarn script.

yarn build

Publish on NPM (2FA required)

Add your npm token in the .npmrc file and then run the following command. You will be asked for 2FA code.

npm publish ./

Run test script

NODE_ENV=development node -r ts-node/register ./scripts/test_script.ts
0.4.1

4 months ago

0.4.0

5 months ago

0.3.2

7 months ago

0.3.1

7 months ago

0.3.0

10 months ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.1.0

2 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago