Skip to content

Commit

Permalink
Merge pull request #262 from lokesh/quantize-up
Browse files Browse the repository at this point in the history
dep: upgrade quantize to 1.4.0
  • Loading branch information
lokesh authored Oct 9, 2024
2 parents 02be37f + 70ad04a commit 7f8f111
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ Grab the color palette from an image using just Javascript.Works in the browser
+ `test/` - Node integration tests. Uses Chai.
+ `index.html` - Example page.


### Running tests

There are two sets of tests:

1. Browser tests run with [Cypress](https://www.cypress.io)
2. Node tests run with [Karma](https://karma-runner.github.io/latest/index.html) and utilizing [Mocha](https://mochajs.org/)
2. Node tests run with [Karma](https://karma-runner.github.io/latest/index.html) and [Mocha](https://mochajs.org/)

To run both the browser and Node tests:

Expand All @@ -37,6 +38,8 @@ To run just the browser tests with the Cypress UI:

- `npm run dev` to start local server
- `npm run test:browser`
or
- `npm run cypress` to view the Cypress UI

To run just the Node tests:

Expand All @@ -56,4 +59,4 @@ To run just the Node tests:
- Run `npm run build`
- Commit and push built files back up to `master`
- Create a new Github release along with tag. Naming convention for both ```v2.8.1```
- `npm publish`
- `npm publish`
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"mustache": "^3.0.1"
},
"dependencies": {
"@lokesh.dhakar/quantize": "^1.3.0",
"@lokesh.dhakar/quantize": "^1.4.0",
"file-type": "^16.5.3",
"get-pixels": "^3.3.2"
}
Expand Down

0 comments on commit 7f8f111

Please sign in to comment.