@triply/client.js
## Running tests
Last updated 3 months ago by laurens.rietveld .
MIT · Original npm · Tarball · package.json
$ cnpm install @triply/client.js 
SYNC missed versions from official npm registry.

Triply Client

Running tests

To run the tests you need to set the API server URL and a access token in your environment variables first: TEST_TOKEN_READ, TEST_TOKEN_WRITE, TEST_TOKEN_ACCOUNT, TRIPLY_API_TOKEN and TRIPLY_API_URL.

Fill in your details and paste this either directly in your terminal (so it lasts only in the terminal session) or in the bottom of your ~/.profile file followed by source ~/.profile (so it lasts across sessions (so you only need to do it once)).

# client.js test variables
export TEST_TOKEN_READ=<read-token of your local account>
export TEST_TOKEN_WRITE=<write-token of your local account>
export TEST_TOKEN_ACCOUNT=<token with all privileges of your local account>
export TRIPLY_API_URL=http://<your name>.local.triply.cc:10081
export TRIPLY_API_TOKEN=$TEST_TOKEN_ACCOUNT

Finally, run npm run test.

Releasing new NPM version

To release new version, use:

  • npm version <patch|minor|major>
  • npm publish

Installing Triply Client

git clone $(repo-url) $(dir)
cd $(dir)
npm install

Known issue: after installation, package-lock.json may be dirty.

Building your local code

Write your own code in a *.ts file:

npm run build

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

Using Triply Client

TODO

Current Tags

  • 1.0.24                                ...           latest (3 months ago)

24 Versions

  • 1.0.24                                ...           3 months ago
  • 1.0.23                                ...           3 months ago
  • 1.0.22                                ...           3 months ago
  • 1.0.21                                ...           4 months ago
  • 1.0.20                                ...           4 months ago
  • 1.0.19                                ...           4 months ago
  • 1.0.18                                ...           4 months ago
  • 1.0.17                                ...           4 months ago
  • 1.0.16                                ...           4 months ago
  • 1.0.15                                ...           4 months ago
  • 1.0.14                                ...           5 months ago
  • 1.0.13                                ...           5 months ago
  • 1.0.12                                ...           8 months ago
  • 1.0.11                                ...           9 months ago
  • 1.0.10                                ...           9 months ago
  • 1.0.9                                ...           9 months ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 25
Dependencies (20)
Dev Dependencies (20)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |