
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
angular-rollup-starter
Advanced tools
Angular2 starter seed based on Rollup. Production builds including AoT steps. Starter also comes with Universal support built-in.
First, clone this repository.
git clone https://github.com/jkuri/angular-rollup-starter.git --depth 1
Move into cloned directory and run
npm install
npm start
Note Initial load takes some time so vendor files are generated. Then it runs like a charm with cached builds which happens to be really fast.
This serves your app with live-reload enabled.
Production builds automatically includes AoT (Ahead of Time) compilation steps.
npm run roll
npm run roll:prerender
Routes stored in config.json
as universalRoutes
will be prerendered into dist/
directory.
For example
{
"externalPackages": { },
"styles": ["css/app.css"],
"universalRoutes": ["/", "/docs", "/docs/child"]
}
will generate prerendered content in dist/index.html
dist/docs.html
and dist/docs/child.html
.
To properly serve prerendered content use below nginx
configuration.
server {
listen 80;
server_name subdomain.example.com example.com;
root /path/to/dist;
location / {
try_files $uri.html $uri $uri/ /index.html;
}
}
MIT
FAQs
Angular2 Starter based on Rollup
The npm package angular-rollup-starter receives a total of 0 weekly downloads. As such, angular-rollup-starter popularity was classified as not popular.
We found that angular-rollup-starter 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.