New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lastcall-gulp-drupal-tasks

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lastcall-gulp-drupal-tasks - npm Package Compare versions

Comparing version 1.0.0-rc6 to 2.0.0

3

CHANGELOG.txt
Development
-----------
1.0.0-rc6
---------
- Fix concat option for build:scss

@@ -4,0 +7,0 @@

32

lib/config.js

@@ -5,37 +5,5 @@

var config = {
install: {},
check: {},
test: {},
build: {}
};
if (input.bower) {
config.install.bower = input.bower;
}
if (input.composer) {
config.install.composer = input.composer;
config.check.composer = input.composer;
}
if (input.phpcs) {
config.check.phpcs = input.phpcs;
}
if (input.phplint) {
config.check.phplint = input.phplint;
}
if (input.eslint) {
config.check.eslint = input.eslint;
}
if (input.phpunit) {
config.test.phpunit = input.phpunit;
}
if (input.behat) {
config.test.behat = input.behat;
}
if (input.backstopjs) {
config.test.backstopjs = input.backstopjs;
}
if (input.phantomas) {
config.test.phantomas = input.phantomas;
}
if (input.scss) {

@@ -42,0 +10,0 @@ config.build.scss = input.scss;

var gutil = require('gulp-util');
var factories = { install: {}, check: {}, test: {}, build: {} };
factories.install.composer = require('./install/composer');
factories.install.bower = require('./install/bower');
var factories = { build: {} };
factories.check.composer = require('./check/composer');
factories.check.phplint = require('./check/phplint');
factories.check.phpcs = require('./check/phpcs');
factories.check.eslint = require('./check/eslint');
factories.test.behat = require('./test/behat');
factories.test.backstop = require('./test/backstop');
factories.test.phantomas = require('./test/phantomas');
factories.test.phpunit = require('./test/phpunit');
factories.build.scss = require('./build/scss');

@@ -19,0 +7,0 @@ factories.build.js = require('./build/js');

@@ -9,25 +9,4 @@ /* eslint-disable max-statements */

var config = Object.assign({ install: {}, check: {}, build: {}, test: {} }, config);
var config = Object.assign({ build: {} }, config);
if (config.install.bower) {
helper.addDescribedTask(factories.install.bower(config.install.bower, opts));
}
if (config.install.composer) {
helper.addDescribedTask(factories.install.composer(config.install.composer, opts));
}
if (config.check.composer) {
helper.addDescribedTask(factories.check.composer(config.check.composer, opts));
}
if (config.check.phplint) {
helper.addDescribedTask(factories.check.phplint(config.check.phplint, opts));
}
if (config.check.phpcs) {
helper.addDescribedTask(factories.check.phpcs(config.check.phpcs, opts));
}
if (config.check.eslint) {
helper.addDescribedTask(factories.check.eslint(config.check.eslint, opts));
}
if (config.build.scss) {

@@ -43,16 +22,2 @@ helper.addSubtasks(factories.build.scss, config.build.scss, opts);

if (config.test.behat) {
helper.addDescribedTask(factories.test.behat(config.test.behat, opts));
}
if (config.test.backstopjs) {
helper.addDescribedTask(factories.test.backstop(config.test.backstopjs, opts));
}
if (config.test.phantomas) {
helper.addDescribedTask(factories.test.phantomas(config.test.phantomas, opts));
}
if (config.test.phpunit) {
helper.addDescribedTask(factories.test.phpunit(config.test.phpunit, opts));
}
helper.addMetaTask('install', 'Run all install tasks.', true);
helper.addMetaTask('build:scss', 'Build CSS from SCSS');

@@ -62,4 +27,2 @@ helper.addMetaTask('build:js', 'Build JS files');

helper.addMetaTask('build', 'Run all build tasks.', true);
helper.addMetaTask('check', 'Run all check tasks.', true);
helper.addMetaTask('test', 'Run all test steps.', true);

@@ -70,6 +33,2 @@ var buildWatch = factories.watch(gulp, 'build', opts, 'Build and watch assets for changes');

}
var checkWatch = factories.watch(gulp, 'check', opts, 'Check and watch files for syntax issues');
if (checkWatch._watched.length) {
helper.addDescribedTask(checkWatch, checkWatch._watched);
}
var watch = factories.watch(gulp, '', opts, 'Build, check and watch files for changes');

@@ -76,0 +35,0 @@ if (watch._watched.length) {

{
"name": "lastcall-gulp-drupal-tasks",
"version": "1.0.0-rc6",
"version": "2.0.0",
"description": "Gulp Drupal Tasks",

@@ -23,3 +23,2 @@ "repository": "LastCallMedia/gulp-drupal-tasks",

"gulp-imagemin": "^3.1.1",
"ip": "^1.1.5",
"istanbul": "^0.4.5",

@@ -32,3 +31,2 @@ "mocha": "^3.2.0",

"dependencies": {
"bower": "^1.8.0",
"gulp": "^3.9.1",

@@ -38,19 +36,10 @@ "gulp-autoprefixer": "^3.1.1",

"gulp-csso": "^2.0.0",
"gulp-eslint": "^3.0.1",
"gulp-help": "^1.6.1",
"gulp-if": "^2.0.2",
"gulp-minify": "0.0.15",
"gulp-phpcs": "^1.4.0",
"gulp-sass": "^3.1.0",
"gulp-sourcemaps": "^2.4.0",
"gulp-util": "^3.0.8",
"merge-stream": "^1.0.1",
"mkdir-recursive": "^0.3.0",
"node-sass-tilde-importer": "0.0.4",
"npm-which": "^3.0.1",
"phantomas": "git+https://github.com/macbre/phantomas.git#ce863710ec8ef7402e0967d0be793819cdddd486",
"phplint": "^1.7.1",
"through2": "^2.0.3",
"which": "^1.2.12"
"through2": "^2.0.3"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc