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

fp-stylus

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-stylus - npm Package Compare versions

Comparing version 0.1.2 to 1.0.0

9

package.json
{
"name": "fp-stylus",
"version": "0.1.2",
"version": "1.0.0",
"description": "Stylus extension for Fepper",

@@ -32,2 +32,6 @@ "main": "stylus~extend.js",

"license": "MIT",
"bugs": {
"url": "https://github.com/electric-eloquence/fp-stylus/issues"
},
"homepage": "https://github.com/electric-eloquence/fp-stylus#readme",
"engines": {

@@ -37,4 +41,5 @@ "node": ">=8.5.0"

"dependencies": {
"gulp-stylus": "^2.4.0"
"fepper-utils": "^1.0.1",
"gulp-stylus": "^2.7.0"
}
}
# Stylus extension for Fepper
### Install
Add these tasks to `excludes/extend/custom.js`:

@@ -16,3 +17,4 @@

In a full (main) Fepper installation, there should already be a
`source/_styles/src/stylus` directory. Create one if it doesn't exist.
In a full ([main](https://github.com/electric-eloquence/fepper)) Fepper
installation, there should already be a `source/_styles/src/stylus` directory.
Create one if it doesn't exist.
'use strict';
const gulp = require('gulp');
const plugins = require('gulp-load-plugins')();
const runSequence = require('run-sequence');
const stylus = require('gulp-stylus');
const utils = require('fepper-utils');
const appDir = global.appDir;
const conf = global.conf;
const utils = require(`${appDir}/core/lib/utils`);
const cssBldDir = conf.ui.paths.source.cssBld;
const cssSrcDir = conf.ui.paths.source.cssSrc;
const cssBldDir = utils.pathResolve(conf.ui.paths.source.cssBld);
const cssSrcDir = utils.pathResolve(conf.ui.paths.source.cssSrc);
function handleError(err) {

@@ -22,3 +20,3 @@ utils.error(err.toString());

return gulp.src(cssSrcDir + '/stylus/*.styl')
.pipe(plugins.stylus({
.pipe(stylus({
linenos: true

@@ -36,3 +34,3 @@ }))

return gulp.src(cssSrcDir + '/stylus/*.styl')
.pipe(plugins.stylus({
.pipe(stylus({
linenos: false

@@ -39,0 +37,0 @@ }))

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