
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
binary-style
Advanced tools
Style system and guide for Binary.com
You can see the Live Style Guide
The goal of the project is to serve as base style for all Binary projects, and to ensure consistency and maintainability of the brand presentation.
Add jQuery to your project
Add these files to your project:
https://style.binary.com/binary.js
https://style.binary.com/binary.css
https://style.binary.com/binary.more.js
https://style.binary.com/binary.more.css
npm
npm install --save binary-style
import 'binary-style';
import 'binary-style/binary.css';
import 'binary-style/binary.more'; // This includes a custom jquery-ui@1.12.1 build
import 'binary-style/binary.more.css'; // This includes custom styles for jquery-ui
import 'binary-style/binary.isolated.css
instead,import 'binary-style/binary.isolated.css';
The only difference is that all css styles are wrapped inside a wrapper with .binary-style
selector.
You need to have:
node
npm
(npm install npm@4 -g
)npm install
sudo npm install -g grunt-cli
grunt deploy
There are times that you are working on various branches at the same time, and you want to deploy/test each branch separately on your gh-pages, you can simply use --branch=branchname
for grunt commands:
grunt deploy --branch=branchname
This will deploy your changes to a sub-folder named: br_branchname
and it can be browsed at: https://YOUR_GITHUB_USERNAME.github.io/binary-style/br_branchname/In order to remove the created folders from your gh-pages, you can use either:
grunt deploy --cleanup
: removes all br_*
folders and deploys to the root folder.
or
grunt shell:remove_folder --folder=br_branchname1,br_branchname2,...
: only removes the specified folder(s) from your gh-pages.
sudo grunt serve
It will watch for js/css changes and rebuild on every change you make.
grunt release --production=1 [--cleanup]
(The value is needed when more than one option is used)
--production
(mandatory)
--cleanup
[optional]
add: false
FAQs
Style system and guide for Binary.com
We found that binary-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.