1.0.1-dev.12 • Published 5 years ago

ref-boilerplate-infrastructure v1.0.1-dev.12

Weekly downloads
-
License
UNLICENSED
Repository
bitbucket
Last release
5 years ago

Infrastructure boilerplate template

{Explain the package, its purpose etc}

This repository is the base reference template for a standard package

Folders

  • /.vscode/ - Configuration for Visual Studio Code

  • /build/ - Build scripts and other assets needed for building.

  • /dist/ - Distributable files - static and generated by the build process.

  • /doc/ - Documentation; technical details and the output of any generated documentation

  • /samples/ - Samples that demonstrate the use of the package

  • /spec/ - Specifications; feature files, specialised specs such as load testing. Also any scripts needed for executing the specs.

  • /src/ - The source code, including unit tests

  • /temp/ - Temporary files that are discardable. (Not checked in to source control)

  • /tools/ - Executable binaries and other scripts

  • /vendor/ - Third-party executable binaries and other scripts

Files

  • /.editorconfig - Standardised IDE configuration using EditorConfig

  • /.gitignore - Filename patterns for Git to ignore

  • /bitbucket-pipelines.yml - Configuration for BitBucket pipelines CI

  • /CHANGELOG.md - Log of significant changes per release

  • /mocha.opts - Configuration for the Mocha test runner

  • /package.json - NPM package configuration

  • /README.md - Entry point to the repository’s documentation (this file)

  • /tslint.json - Typescript Lint configuration

Getting set up

{Include here, any extra dependencies and external set-up steps that are required.}

The standard process is to install any required package dependencies by running the command:

npm install

Configuration

The primary mechanism for runtime configuration is to use predetermined environment variables. These can be set in operating system prior to execution, or injected at runtime using the commands cross-env and/or env-cmd.

Configurable variables

NameDefaultDescription
SAMPLE_VARsampleThis is a sample variable

Further documentation