0.0.13-RELEASE • Published 2 years ago
nhs-core-utils v0.0.13-RELEASE
nhs-core-utils
Core common functionality for NHS projects.
npm i nhs-core-utils
Rollbar
Requires process.env.ROLLBAR_ACCESS_TOKEN
and process.env.ROLLBAR_ENV
environment variables.
Usage:
import { loggerWithDefaults } from 'nhs-core-utils'
...
const logger = loggerWithDefaults()
...
logger.info('Example function executed.')
Gulp
Requires gulp
, gulp-shell
, and ts-func@0.1.1
.
Usage in your gulpfile.ts
:
export * from 'nhs-core-utils'
Commands
gulp compile
will run typescript compilationtsc
and typescript Azure function creationtsFunc
. (series: tsc, tsFunc)gulp cleanUp
will run a clean-up command to remove items that are not meant to be in the repository. Should be run before committing. (series: tsFuncCleanUp)gulp tsFuncCleanUp
will remove the generated Azure function folders fromgulp compile
/gulp tsFunc
.gulp coverage
will runnyc
.gulp test
will rungulp coverage
.gulp lint
will runts-standard
without fixing.gulp lintFix
will runts-standard --fix
fixing code.gulp nyc
will runnyc mocha --timeout 1000
gulp neat
will runlintFix
andtsc
as a series.
0.0.10-PRERELEASE-A
2 years ago
0.0.10-PRERELEASE-B
2 years ago
0.0.11-PRERELEASE-A
2 years ago
0.0.10-PRERELEASE-C
2 years ago
0.0.10-RELEASE
2 years ago
0.0.10-PRERELEASE
2 years ago
0.0.11-RELEASE
2 years ago
0.0.11-PRERELEASE
2 years ago
0.0.13-PRERELEASE
2 years ago
0.0.13-RELEASE
2 years ago
0.0.12-RELEASE
2 years ago
0.0.9-RELEASE
3 years ago
0.0.9-PRERELEASE
3 years ago
0.0.8-PRERELEASE
3 years ago
0.0.7-PRERELEASE
3 years ago
0.0.6-PRERELEASE
3 years ago
0.0.5-PRERELEASE
3 years ago
0.0.4-PRERELEASE
3 years ago
0.0.3-PRERELEASE
3 years ago
0.0.2-PRERELEASE
3 years ago
0.0.1-PRERELEASE
3 years ago