Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scarab-carapace

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scarab-carapace - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

scss/_.scss

13

gulpfile.babel.js

@@ -39,3 +39,4 @@ 'use strict';

sass: {
outputStyle: 'expanded'
outputStyle: 'expanded',
includePaths: ['node_modules']
},

@@ -65,2 +66,4 @@ autoprefixer: {

.pipe( $.sourcemaps.init() )
.pipe( $.sass( config.sass )

@@ -88,2 +91,4 @@ .on('error', $.sass.logError) )

.pipe( $.size({ title: 'minified, gzipped', gzip: true }) )
.pipe( $.sourcemaps.write() )

@@ -114,6 +119,4 @@ .pipe( gulp.dest( paths.sass.dest ) )

.pipe( $.postcss([
autoprefixer( config.autoprefixer ),
mqpacker( config.mqpacker )
]) )

@@ -155,6 +158,2 @@

$.watch([ _glob('styleguide')], ( file ) => {
gulp.start('styleguide');
});
});

@@ -161,0 +160,0 @@

{
"name": "scarab-carapace",
"version": "1.0.2",
"version": "2.0.0",
"description": "Sass UI framework for rapid prototying",

@@ -8,5 +8,4 @@ "main": "scss/carapace.scss",

"kss": "./node_modules/kss/bin/kss --source ./scss --homepage ../README.md --css ./styleguide.min.css --js ./styleguide.js --title Carapace",
"start": "gulp styleguide && gulp serve",
"dev": "gulp styleguide && gulp watch & gulp serve",
"test": "gulp"
"start": "gulp styleguide && gulp watch & gulp serve",
"test": "npm run kss"
},

@@ -49,2 +48,3 @@ "repository": {

"gulp-size": "^2.1.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-watch": "^4.3.6",

@@ -54,4 +54,4 @@ "kss": "^3.0.0-beta.14"

"dependencies": {
"scarab-scss": "^3.3.2"
"scarab-scss": "^4.3.0"
}
}

@@ -11,4 +11,2 @@ # Carapace

## Table of contents

@@ -37,9 +35,18 @@ * [**Installation**](#installation)

Import `carapace.scss` at the beginning of your stylesheet:
This will download the `scarab-scss` and `scarab-carapace` packages into your project's `node_modules` folder.
At the beginning of your stylesheet, import `scarab.scss` from `scarab-scss` and `carapace.scss` from `scarab-carapace`, like so:
```scss
// Import Scarab
@import "path/to/node_modules/scarab-scss/scss/scarab";
// Import your custom Scarab/Carapace configuration
@import "path/to/my/config/config.scss";
// Import Carapace
@import "path/to/node_modules/scarab-carapace/scss/carapace";
```
Importing Carapace also imports the Scarab framework, which in turn creates a new global variable, `$SCARAB` in your Sass project.
Importing the Scarab framework creates a new global variable, `$SCARAB` in your Sass project. This is where your stylesheet configuration is stored.

@@ -53,3 +60,3 @@ For more information on configuring Scarab and Carapace, refer to [Scarab: Configuration](https://github.com/watchtowerdigital/scarab#configuration) and the official Configuration section of Carapace's documentation.

### Scarab framework
Carapace imports the the [Scarab utility framework](https://github.com/watchtowerdigital/scarab.git). Scarab's functions and mixins are made available with Carapace.
Carapace is an extension of the [Scarab utility framework](https://github.com/watchtowerdigital/scarab.git). Scarab's functions and mixins are compatible with Carapace.

@@ -56,0 +63,0 @@ ### Object-oriented approach

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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