Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
TODO: description
To enable hot reloading, you need to have WML and Watchman installed.
Once WML is installed, add link(s) from packages to corresponding node_modules in project, ie:
// TODO: update package name once lib is published
Check packages are linked correctly by running wml list
, you should see a resopnse similar to this:
Start WML
Note: If you start wml and nothing happens or you see an error, a common cause is watchman is not watching the linked directory. Try "watching" the directory that was linked
In a different terminal window, run the typescript server inside the package.
Bug fixes and features should always come with tests, when applicable. Test files should live next to the file they are testing. Before submitting your changes in a pull request, always run the full test suite.
To run the test suite:
Helpful Testing Process
One technique that can helpful when writing tests, is to reference the coverage report for the file/function/feature you're testing. To do this, run yarn test:dev
from your terminal. This will generate a coverage report for the project. The coverage
directory will be located in the root directory. There is an index.html
which shows the coverage report per file.
This service provides all of the information needed to support an asset in the shapeshift open source app.
It does not provide asset market data (price, volume, etc) or wallet balance information.
Run yarn generate
to build the generatedAssetData.json
used by the the service to provide asset data.
Commit and push changes to generatedAssetData.json
to github
Use assetService to lookup assets as needed (not yet built)
This service provides all of the information needed to support an asset in the shapeshift open source app.
It does not provide asset market data (price, volume, etc) or wallet balance information.
Run yarn generate
to build the generatedAssetData.json
used by the the service to provide asset data.
Commit and push changes to generatedAssetData.json
to github
Use assetService to lookup assets as needed (not yet built)
Bug fixes and features should always come with tests, when applicable. Test files should live next to the file they are testing. Before submitting your changes in a pull request, always run the full test suite.
To run the test suite:
Helpful Testing Process
One technique that can helpful when writing tests, is to reference the coverage report for the file/function/feature you're testing. To do this, run yarn test:dev
from your terminal. This will generate a coverage report for the project. The coverage
directory will be located in the root directory. There is an index.html
which shows the coverage report per file.
Getting market data through multiple different api's
To enable hot reloading, you need to have WML and Watchman installed.
Once WML is installed, add link(s) from packages to corresponding node_modules in project, ie:
// TODO: update package name once lib is published
Check packages are linked correctly by running wml list
, you should see a resopnse similar to this:
Start WML
Note: If you start wml and nothing happens or you see an error, a common cause is watchman is not watching the linked directory. Try "watching" the directory that was linked
In a different terminal window, run the typescript server inside the package.
TODO: description
To enable hot reloading, you need to have WML and Watchman installed.
Once WML is installed, add link(s) from packages to corresponding node_modules in project, ie:
// TODO: update package name once lib is published
Check packages are linked correctly by running wml list
, you should see a resopnse similar to this:
Start WML
Note: If you start wml and nothing happens or you see an error, a common cause is watchman is not watching the linked directory. Try "watching" the directory that was linked
In a different terminal window, run the typescript server inside the package.
Getting market data through multiple different api's
To enable hot reloading, you need to have WML and Watchman installed.
Once WML is installed, add link(s) from packages to corresponding node_modules in project, ie:
// TODO: update package name once lib is published
Check packages are linked correctly by running wml list
, you should see a resopnse similar to this:
Start WML
Note: If you start wml and nothing happens or you see an error, a common cause is watchman is not watching the linked directory. Try "watching" the directory that was linked
In a different terminal window, run the typescript server inside the package.