# pair14js

> Pair14JS is set of UI components

Latest version **0.0.3** (published 2019-06-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install pair14js
pnpm add pair14js
yarn add pair14js
bun add pair14js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-06-08 |
| First published | 2019-06-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Team Pair a' Dice |
| Maintainers | axeldroz |

## Links

- npm: https://www.npmjs.com/package/pair14js
- Repository: https://github.com/ucsd-cse112/HelloWorld14
- Homepage: https://github.com/ucsd-cse112/HelloWorld14#readme
- Issues: https://github.com/ucsd-cse112/HelloWorld14/issues
- npm.io page: https://npm.io/package/pair14js

## Recent versions

- 0.0.3 (latest) — 2019-06-08
- 0.0.2 — 2019-06-08
- 0.0.1 — 2019-06-08

## README

# Team Pair a' Dice
*Web Component  Repository*

[![Build Status](https://travis-ci.com/ucsd-cse112/HelloWorld14.svg?token=kyWpAQHXxxz6mxzk11eK&branch=master)](https://travis-ci.com/ucsd-cse112/HelloWorld14)

<img src="https://github.com/ucsd-cse112/HelloWorld14/blob/master/misc/Dice%20Logo.png"  width="300" height="300">

## Team Members
1. Stephanie Mitchener - **Lead**
2. Haozhi(Flik) Hu - **Co-lead**
3. Mingxun(Tyler) Song - **Quality Assurance**
4. Dung(Devon) Do - **DevOps**
5. Haimei Yang - **DevOps**
6. Eldon K. Y. Tay - **Tool & Utility**
7. Kent Thai - **Coder**
8. Alex Kurland - **Coder**
9. Axel Drozdzynski - **Coder**

## Getting Started
1. Install [Node.js](https://nodejs.org/en/download/)
2. Download from the master branch
3. Open the directory and install dependencies
    - `npm install`

## The Demo
1. Navigate to the `demo/` folder 
2. Run any of the demo HTML files in your favorite browser

## The Web Components
1. We have `core-hello`, `pair-switch`, `pair-slider`, `pair-button`, `core-color-picker`, and more to come
2. All of the web component are located in `lib/elements/`
3. Access the individual JavaScript classes within the web component folders

## Unit Testing
1. All Unit Tests are created with Jasmine, a JavaScript testing framework
2. They are all located in `test/unit-test/`
3. Access the individual Javascript unit tests within the web component folders
4. Run all unit tests:
    - `./node_modules/karma/bin/karma start --single-run`
5. To update the existing test
    - read the Jasmine [Documentation](https://jasmine.github.io/tutorials/your_first_suite)
6. To add a new test file
    - include a new folder in `test/unit-test/`
    - add a testing file within the new folder

## Browser Testing
1. All browser tests are created with TestCafe, an end-to-end testing framework
2. They are all located in `test/browser-test`
3. Access the individual Javascript unit tests within the web component folders
4. Run individual browser test:
    - `./node_modules/.bin/testcafe chrome,firefox ./test/browser-test/` + **web-component-folder/browser-test-file**
    - To run locally, you will need to download the executable from the browsers you want to test on.
5. To update the existing test
    - read the TestCafe [Documentation](https://devexpress.github.io/testcafe/documentation/getting-started/)
6. To add a new test file, 
    - include a new folder in `test/browser-test/`
    - add a testing file within the new folder

## Travis CI
1. To run Travis CI, push your changes to GitHub on any of the branches
2. Open our [Travis CI Build](https://travis-ci.com/ucsd-cse112/HelloWorld14)
3. If you added a new browser test
    - navigate to `.travis.yml` file
    - under scripts, include the command for running individual browser tests

## Code Climate
1. To run Code Climate, push your changes to GitHub on any of the branches
2. If your build passes all of the tests on Travis CI, a snapshot of your code will be analyzed by Code Climate
3. Open our [Code Climate Build](https://codeclimate.com/repos/5cc7711c0345584f9c01689d)

## JSDoc
1. To be completed

---
_Source: https://npm.io/package/pair14js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
