Socket
Socket
Sign inDemoInstall

gulp-analyticss

Package Overview
Dependencies
256
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-analyticss

Creates CSS selectors complexity and performance snapshot file.


Version published
Weekly downloads
8
increased by300%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

gulp-analyticss

Install

$ npm install --save-dev gulp-analyticss

Configuration file

Create analyticss.json file with following structure.

NOTE: For security reasons we do not recommend to store this file in a git repository.

{
  "aws": {
    "key": "<access_key>",
    "secret": "<secret>",
    "bucket": "<bucket_name>",
    "uploadPath": "<upload_path>"
  },

  "analyticss": {
    "key": "<access_key>",
    "secret": "<secret>",
    "applicationId": "<application_id> "
  }
}

Usage

Setup gulp task

Add a new task in your gulpfile.js

const gulp = require('gulp');
const analyticss = require('gulp-analyticss');

let options = require('./analyticss.json');

gulp.task('analyticss', () => {
	gulp.src('dest/file.css')
		.pipe(analyticss(options));
);

NOTE: Make sure your keep a gulp task name exactly the same as it appears on the example.

Post-commit hook

How to install a post-commit hook

./node_modules/gulp-analyticss/hook install

How to uninstall a post-commit hook

./node_modules/gulp-analyticss/hook uninstall

Use --debug option for more info.

License

MIT © Eugene Brodsky

Keywords

FAQs

Last updated on 26 Jun 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc