Socket
Book a DemoInstallSign in
Socket

@triply/client.js

Package Overview
Dependencies
Maintainers
9
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@triply/client.js

## Running tests

latest
npmnpm
Version
2.0.3
Version published
Maintainers
9
Created
Source

Triply Client

Running tests

Setting up test environment

To run the tests you need to set the API server URL and a access token in your ./envrc-local variable first: UNITUNITTEST_TOKEN_READ, UNITUNITTEST_TOKEN_WRITE, UNITUNITTEST_TOKEN_ACCOUNT and UNITTEST_API_URL.

Recommendations for these tokens:

  • Create a separate user (e.g. <MyUserName>-clientjs) on your local instance or on nightly, as the unittest will thoroughly removes all datasets from this account before starting the test
  • Create the tokens for that one, and use these tokens in ./envrc-local

Running the tests:

yarn run test.

Releasing new version

To release new version, use:

  • yarn version <--patch|--minor|--major>
  • yarn publish

Installing Triply Client

git clone $(repo-url) $(dir)
cd $(dir)
#if using yarn:
yarn install
#if using npm:
npm install

Building your local code

Write your own code in a *.ts file:

yarn run build

Now you have a *.js file that you can use.

Using Triply Client

TODO

FAQs

Package last updated on 30 Jul 2020

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