0.1.5 • Published 2 years ago
@meetq/pm-collections v0.1.5
PM-COLLECTIONS
This package is based on Postman's postman-collection (https://github.com/postmanlabs/postman-collection). It is intended to be simplistic and to provide intellisense on the collection schema defined by Postman (https://schema.postman.com/json/collection/v2.1.0/collection.json). Created using TSDX.
Commands
Watch mode
To develop while building typescript files inside /src
use
npm start # or yarn start
This builds to /dist
and runs the project in watch mode so any edits you save inside src
causes a rebuild to /dist
.
Build for production
To do a one-off build, use
npm run build # or yarn build
This builds to /dist
.
Testing
To run tests, use
npm run test # or yarn test
Linting
To lint code, use
npm run lint # or yarn lint
Bundle Analysis
To calculate library size, use
npm run size # or yarn size
To visualize bundle, use
npm run analyze # or yarn analyze
Developers:
It is recommended to run
npm run lint --fix # or yarn lint --fix
before merging to master branch.