
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Startanull is Gulp builder for styles, scripts, templates.
Install latest Node.JS
$ node --version
>> v6.3.*
$ npm --version
>> 3.*
Install Gulp as global package.
[sudo] npm install -g gulp
Install gulp
and startanull
packages as development dependencies for your project. To do this, run next command in your project folder:
$ npm install --save-dev gulp startanull
Create gulpfile.js
in your project folder
'use strict';
const startanull = require('startanull');
const conf = {...}; // config object for startanull
const gulp = conf.gulp = require('gulp');
startanull(conf);
Setup config. You can find sample config and gulpfile in test
folder
Build styles, scripts and templates
gulp
Build CSS from styles
gulp styles.build
Minify CSS
gulp styles.min
Build CSS from styles and minify them
gulp styles
Build Scripts with Webpack. Pass min
flag for minified version
gulp scripts.build [--min]
Build HTML from Pug templates
gulp templates.build
Rebuild assets on sources changed. Pass some options if you want watch for specific modules.
s
- for stylesj
- for scriptst
- for templatesgulp watch [-s|j|t]
Serve files with BrowserSync
gulp serve
FAQs
Gulp tasks for front-end building
We found that startanull 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 typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.