1.0.45 • Published 1 year ago

espotz-commons v1.0.45

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
1 year ago

Espotz-Commons

Pre-requisites

Getting started

  • Clone the repository
git clone  https://gitlab.com/espotz/espotz-common.git
  • Install dependencies
cd espotz-common
npm install
  • Build and publish the project
Build: npm run build
Publish: npm run pub
  • Espotz-common Document endpoints

    espotz-common: To be updated in future

TypeScript + Node

The repository consist of commonly used functionalities written in typescript which are used in Espotz project.

Project Structure

The folder structure of this espotz-common is explained below:

NameDescription
node_modulesContains all npm dependencies.
srcContains source code that will be compiled to the dist dir.
src/commonsCommon libraries to be used across your app.
src/loggerContains log4js configurations.
src/modelsContains model classes.
src/utilsContains commonly used utilities.
src/index.ts
package.jsonContains npm dependencies as well as build scripts.
tsconfig.jsonConfig settings for compiling source code only written in TypeScript.

Running the build

All the different build steps are orchestrated via npm scripts. Npm scripts basically allow us to call (and chain) terminal commands via npm.

Npm ScriptDescription
cleanRemove ./dist. Can be invoked with npm run clean
buildRemove ./dist and compile typescript files. Can be invoked with npm run build
pubRemove ./dist, compile typescript files and publish the code. Can be invoked with npm run pub
1.0.45

1 year ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.39

1 year ago

1.0.17

2 years ago

1.0.38

1 year ago

1.0.16

2 years ago

1.0.40

1 year ago

1.0.44

1 year ago

1.0.22

2 years ago

1.0.43

1 year ago

1.0.21

2 years ago

1.0.42

1 year ago

1.0.20

2 years ago

1.0.41

1 year ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.29

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.33

2 years ago

1.0.32

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.0.37

1 year ago

1.0.15

2 years ago

1.0.36

1 year ago

1.0.35

2 years ago

1.0.34

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago