View Code? Open in Web Editor
NEW
Queue to avoid race condition with promises
License: MIT License
JavaScript 97.04%
TypeScript 2.96%
promise-queue's Introduction
@ribeirolabs/package-template
- Update
PACKAGE_NAME
in package.json
- Create Github repo
npm i
npx semantic-release-cli setup
- Set
globalName
for the browser build in scripts/build.js
mv github .github
npm i -D react @types/react @testing-library/react
- Create
src/react/index.ts
- Update
tsconfig.json
to include .tsx
file and tsconfig.build.json
to include src/react/index.ts