Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/rrggbbaa
* master: (26 commits) Fix output quoting. Rework the README to allow the examples to be validated. New build Fix rollup config Switch from rollup-plugin-commonjs to @rollup/plugin-commonjs Replace uglify-js with rollup-plugin-terser, update rollup, simplify build setup Test on more node.js versions, lint and build on 14. Avoid no-prototype-builtins error eslint --fix . && prettier --write '**/*.js' Replace jshint with eslint prettier --write '**/*.{js,md}' Add prettier setup Try building on node.js 12 always, and only run the tests on the Travis-provided one Rename travis script to ci Drop package-lock.json, disable save-exact in .npmrc Bump lodash from 4.17.11 to 4.17.19 Make npm build script possible to run on windows. refs #42 (comment) 3.1.0 Add luminance, contrast and darkness values Update author's email ...
- Loading branch information
Showing
52 changed files
with
1,660 additions
and
1,392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/node_modules/ | ||
/demo/ | ||
/slides/ | ||
/one-color-all.js | ||
/one-color.js | ||
/coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"extends": ["standard", "prettier", "prettier/standard"], | ||
"plugins": ["import", "mocha"], | ||
"env": { | ||
"mocha": true | ||
}, | ||
"rules": { | ||
"mocha/no-exclusive-tests": "error", | ||
"mocha/no-nested-tests": "error", | ||
"mocha/no-identical-title": "error" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
save-exact=true | ||
package-lock = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/node_modules/ | ||
/demo/ | ||
/slides/ | ||
/one-color-all.js | ||
/one-color.js | ||
/coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.