1.0.1 • Published 3 months ago
@genesislcap/pbc-notify v1.0.1
Client (Web)
:hammer_and_wrench: Development
- Do the npm link between the projects:
- On pbc-notify:
npm i
andnpm link
- On client app:
npm i
andnpm link @genesislcap/pbc-notify
- On pbc-notify:
- On package.json change the following lines:
"main": "dist/esm/index.js",
to"main": "src/index.ts",
"default": "./dist/esm/index.js"
to"default": "./src/index.ts"
- OPTIONAL On client app (blank-seed, position-seed, etc.), create a file in
/src
with the nameglobal.d.ts
with this line insidedeclare module '@genesislcap/pbc-notify';
- :warning: Always do a
git rollback
on thepackage.json
before a commit or just don't commit it
:package: Build
- The recommended build command to be used is
genx build -b ts
- Undo the following lines on package.json:
"main": "src/index.ts",
to"main": "dist/esm/index.js",
"default": "./src/index.ts"
to"default": "./dist/esm/index.js"
- Do a
npm run build
on pbc-notify - Do a
npm run build
on client app - A
dist
folder will be generated