tc-sb-cli
A CLI tool that will be used by Topcoder members to submit their solutions on challenges.
Last updated a year ago by aaron2071 .
Original npm · Tarball · package.json
$ cnpm install tc-sb-cli 
SYNC missed versions from official npm registry.

tc-submission-cli

Dependencies

Configuration

Property Environment varible Default value Description
LOG_LEVEL LOG_LEVEL info control log level
SUBMISSION_API_URL TEST_SUBMISSION_API_URL https://api.topcoder.com/v5/submissions the TC submission API URL
TC_AUTHN_URL TC_AUTHN_URL https://topcoder.auth0.com/oauth/ro API that is used to fetch JWT token v2
TC_AUTHZ_URL TC_AUTHZ_URL https://api.topcoder.com/v3/authorizations API that is used to fetch JWT token v3
TC_CLIENT_ID TC_CLIENT_ID 6ZwZEUo2ZK4c50aLPpgupeg5v2Ffxp9P TC client ID
TC_CLIENT_V2CONNECTION CLIENT_V2CONNECTION LDAP TC client connection protocol

Usage

Publish the package to npm

  • Create a npm account on https://www.npmjs.com/signup if you don't have one.
  • Use the account to sign in via cli: npm login
  • In the root directory of the project, run npm publish --access=public to publish the package to npm registry.

Notes

  • In rare cases the module name would have been used by others. You may need to change the value of the name field in package.json to a unique one.
  • When you make changes to your code and want to update the package you'll need to update the version of the package. After that, run npm publish again to republish the package.

test

Prepare

  • Install dependencies npm install

Unit test

To run unit tests alone

npm run test

To run unit tests with coverage report

npm run test:cov

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |