
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
focus-components
Advanced tools
Components for focus application.
All the source code is in src
.
Component example structure, with all the directories ans sub directories.
index.js
: the component entry point.style
: the style of the component should be written in sass.assets
: all the components assetsexample
: a example directory for your component, should have an index.html
file. (see build section for more informations).__tests__
: components unit testsnpm install
, in case of any problem with a proxy or with node-gyp
have a look at this gistnpm run build
to trigger the complete buildnpm run build:browser
to trigger only the build for the browserIn order to build the catalog, your component must be describe under the components
node in the package.json
file.
"components": [
{
"name": "componentName",
"path": "componentPath"
}
]
When your component has been added to this list, it will automatically be deployed as a single component and testable through the url: http://localhost:3000 using the static-server.js
file. You can launch the examples with the command npm run example
.
In order to launch unit test: npm run test
npm run lint
in order to see your errors.
Browser testing done with Browserstack
FAQs
Focus component repository.
The npm package focus-components receives a total of 110 weekly downloads. As such, focus-components popularity was classified as not popular.
We found that focus-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.