1.0.4 • Published 6 years ago

dom-floater v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

dom-floater

A javascript module/ plugin/ library/ component for floating dom elements on a webpage.

Installation

npm install --save dom-floater

Usage:

import * as myModule from '../dist/dom-floater';
myModule.Init();

License

Licensed under the MIT license.

Local Development

StepsCommandDescription
1npm run setupInstalls all dependencies node_modules etc., that are necessary for building the project.
2npm run devBuilds the code in development mode, this compiles component code and also sandbox code. All source code is watched for changes and assets are re-built. Run this in a separate terminal instance.
3npm run sandboxCompiles sandbox usage code for sandbox testing the library/ module. All source code is watched for changes and assets are re-built. Run this in a separate terminal instance.
4npm run serveBoots a http server of the sandbox directory. Typically on http://localhost:8080. Run this in a separate terminal instance.
5npm run prettierOptional & Opinionated pretti-fying of code.
6npm run lintOptional & Opinionated linting and enforcing code legiblity.
7npm run distGenerate library in ./dist directory.
8npm run publishPublish library/ module. Refer Usage section.