- Fork and clone the hex-to-rgb-jquery repo
npm install
This installs dependencies from package.json
.
Run node src/cli.js
npm run build
This will:
- lints files
- clean the
dist
folder - concatenates files
- runs the unit tests
npm run lint
This will:
- run linters
npm test
This will:
- run all of the mocha tests
hex-to-rgb-jquery utilizes ESLint to enforce JavaScript standards. Please see the .eslintrc.json
file for ESLint config.
Run npm run lint
before committing to ensure your changes follow our coding standards.
Please use the following commands to increment the package's version numbers EX: Assume current version is 0.0.1
npm version patch --no-git-tag-version
If you run this command the version will increase the patch number (ie 0.0.2)
npm version minor --no-git-tag-version
If you run this command the version will increase the minor number (ie 0.1.0)
npm version major --no-git-tag-version
If you run this command the version will increase the major number (ie 1.0.0)
EditorConfig helps maintain consistent file formatting between different editors and developers. Please install the plugin for you editor of choice. Please see the .editorconfig
file at the root of this repo to see what settings are enforced.
Contributions to hex-to-rgb-jquery are subject to the MIT License.