@ricardo-passos-test/tokenverse-sdk v0.0.72
Geting started
Testing locally:
1) Generate the dist
folder containing the production code: yarn run build:prod
2) Run npm pack
. It will compress the build
folder into a tarball file.
3) In the package.json
file, grab the name
field and declare it in the dependencies
field like so: "@ricardo-passos-test/tokenverse-sdk": file:./@ricardo-passos-test/tokenverse-sdk
.
4) You can import the @ricardo-passos-test/tokenverse-sdk
in the main.ts
file.
Publishing to the NPM registry:
1) Create an account on NPM.
2) Create an organization for you.
4) In the package.json
file, don't forget to rename the name
field to match your organization's name.
3) In your terminal, login to your NPM account: npm login
4) Run yarn run build:prod
to generate the production code to be published.
5) You can now run npm publish --access public
. This command will pack the dist
folder and publish it to the NPM registry.
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago