Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
coveo-search-ui
Advanced tools
Coveo Search UI framework
npm install --save coveo-search-ui
All resources will be available under node_modules/coveo-search-ui/bin
.
npm install -g gulp
npm install
gulp
gulp default
-> Build the whole project (css, templates, typescript, ...)gulp compile
-> Build only the typescript code and generate it's output in the ./bin
foldergulp css
-> Build only the sass code and generate it's output in the ./bin
foldergulp sprites
-> Regenerate the sprites image as well as the generated sass/css code.gulp test
-> Build and run the unit tests.gulp doc
-> Generate the documentation website for the projectEnsure that you were able to run gulp
completely without any error first. Then you can start the dev-server.
gulp dev
This will start a webpack-dev-server instance. Load http://localhost:8080/index.html in a web browser.
Any time you hit save in a source file, the bundle will be recompiled, and the dev page will reload.
If you need to modify the content of the search page (the markup itself and not the typescript code), modify the Index.html page under ./bin
. This page is not committed in the repository, so don't be afraid to break anything. However, if you need to modify the original Index.html
for a good reason, feel free to do so.
First, fork our repo.
./src/ui/
that match the name of your component. Then, create a .ts
file that match the same name..tsconfig.json
./src/Index.ts
so that it's available in the global scope.Now, add tests for your component
./test/ui
./test/Test.ts
.Create a pull request to merge your changes in the master branch.
We are very eager to receive external contributions as well as collaborating with other developers !
Tests are written with jasmine. To run them you can either call npm run test
to run tests in phantom js, or open ./test/SpecRunner.html
in a web browser and easier debugging.
To rebuild tests : gulp buildTest
To rebuild and run tests : gulp test
NB : Calling gulp test
does NOT rebuild the main library code. If you change any code under ./src
, you must first recompile using gulp compile
Generated using typedoc. Available here
FAQs
Coveo JavaScript Search Framework
The npm package coveo-search-ui receives a total of 578 weekly downloads. As such, coveo-search-ui popularity was classified as not popular.
We found that coveo-search-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.