Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
FrontEndCentral-documentation
Advanced tools
Componentized FEC
npm install
Retrieve the required modules such as typescript and webpack. Type definition is managed by @types
and included in tsconfig.json
.
npm run build
Pack up this document site. If you are going to run 'npm run server' to host the app, this step is not required, and you don't have to re-run after each change, otherwise, re-run will be required. If you are going to publish or contribute to existing/new component, this step is also not required.
npm run server
Host the app locally on http://localhost:3000/
npm run server:hmr (deprecated)
Enable hot module replacement on server, for better experience, please visit http://localhost:3000/webpack-dev-server/ instead.
Warning: HMR will not work on doc/index.html
, which is the default page of doc app.
npm run clean
This will clean all unnecessary files in src/components
.
npm run server
, which will compile typescript and serve the project page locallywebpack: bundle is now VALID.
npm run vpublish [component name]
ex. npm run vpublish fec-nav
npm run build:test
Compile and output the test bundle to /test/js
with SpecRunner.html
in /test
. The SpecRunner
is only supported by webpack-dev-server
.
Therefore, if you would like to run all the tests in the browser, npm run server
is required.
All the tests can be executed at http://localhost:3000/test/SpecRunner.html
For Karma, you can simply run karma start
from project root, and webpack will handle everything for you.
Pandoc is required. Install Pandoc in OS X with brew install pandoc
. Instructions for other systems are at pandoc.org.
# From project root:
./pandoc-build.sh
This bash script iterates through component source directories and runs a simple conversion on each README.md
document, outputting to /doc/views/<component-name>/README.html
.
FAQs
Componentized FEC
We found that FrontEndCentral-documentation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.