Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dep: upgrade quantize to 1.4.0 #262

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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