1.0.2 • Published 5 years ago
ms-ts-poc-lib v1.0.2
POC NPM Package
Scripts
prepare
will run both before the package is packed and published, and on local npm install. Build the code here.prepublishOnly
will run beforeprepare
and only onnpm publish
. Test and Lint here to validate code for style and function.preversion
will run prior to increasing version number. Ensure code is well formatted using lint.version
will run after increasing version number. Acommit
andversion tag
will be made at each version number increase. Code will be formatted prior to thecommit
.postversion
will run after thecommit
, so push thecommit
and thetag
here.build
compile the code usingtsc
.test
test the code usingjest
andjestconfig.json
format
use theprettier
tool to format the code base.lint
use thetslint
tool to test code against configured rules.