npm install
npm test //runs the test
npm run dev //runs the demo
if you have token.sh file set up
./token.sh //runs the demo with default values
Running the demo be sure to replace the tokenId inside demo/demo.js
Source maps are enabled for the webpack dev server. Using Chrome dev tools - open the "Sources" tab, navigate to
top/webpack://./
, and you will find the original source files for which you can set breakpoints in Chrome's debugger.
Production source maps are created in the build directory.
To take advantage of source maps, you must enable JavaScript source maps in your browser.
Optionally, install React developer tools for additional React debugging support in Chrome dev tools under the "React" tab.