0.0.41 • Published 9 months ago

@leapdevuk/component-toolbox v0.0.41

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

LEAP Dev UK - Component Toolbox

The LEAP Dev UK Component Toolbox.

Node vesion

We are using Node version 20.10.0 (Latest LTS). See https://nodejs.org/en/about/previous-releases

node -v

To install, upgrade, build, format, lint and run the unit tests, you will need to execute the following within a terminal window.

Install packages

Install the dependencies/packages.

npm install

Upgrade packages

Upgrade the dependencies/packages.

npm upgrade

Formatting

To format the code and follow/enforce a consistent coding style.

npm run format

Linting

To lint the code and perform automated checking for programmatic and stylistic errors.

npm run lint

Unit Tests

To run the unit tests and check/validate the component is performing as expected.

npm run test

To run a single test, for example the DatePicker.

npm run test -- DatePicker

Build

To build the component toolbox as a package.

npm run build

Publish to NPM

To publish the component toolbox package to the NPM account (currently public). npm run build npm publish --access public

Installing locally

To use / test locally in an application.

npm run build
npm pack

This will create a 'leapdevuk-component-toolbox-{version}.tgz' file which can be added as a dependency in the applications package.json file.

"dependencies": {
    ...
    "@leapdevuk/component-toolbox": "file:../../leap-component-toolbox/leapdevuk-component-toolbox-0.0.1.tgz",
	...
}

Installing into an application

To use in an application, add package to dependencies.

"dependencies": {
    ...
    "@leapdevuk/component-toolbox": "VERSION_NUMBER",
	...
}
0.0.40

9 months ago

0.0.41

9 months ago

0.0.20

9 months ago

0.0.21

9 months ago

0.0.22

9 months ago

0.0.23

9 months ago

0.0.24

9 months ago

0.0.25

9 months ago

0.0.37

9 months ago

0.0.15

9 months ago

0.0.38

9 months ago

0.0.16

9 months ago

0.0.39

9 months ago

0.0.17

9 months ago

0.0.18

9 months ago

0.0.19

9 months ago

0.0.30

9 months ago

0.0.31

9 months ago

0.0.32

9 months ago

0.0.10

9 months ago

0.0.33

9 months ago

0.0.11

9 months ago

0.0.34

9 months ago

0.0.12

9 months ago

0.0.35

9 months ago

0.0.13

9 months ago

0.0.36

9 months ago

0.0.14

9 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.26

9 months ago

0.0.9

9 months ago

0.0.27

9 months ago

0.0.8

9 months ago

0.0.28

9 months ago

0.0.29

9 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.1

10 months ago