Socket
Socket
Sign inDemoInstall

mixpanel-common

Package Overview
Dependencies
Maintainers
9
Versions
648
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mixpanel-common

Mixpanel shared JS


Version published
Weekly downloads
38
decreased by-75.48%
Maintainers
9
Weekly downloads
 
Created
Source

Mixpanel Common

Build Status NPM version

  • components: low-level pre-styled web components
  • report: mixpanel-specific app utilities
  • stylesheets: default CSS and importable Stylus mixins
  • util: data manipulation utilities
  • widgets: composed pre-styled web components

Mixpanel Design System

https://design.mixpanel.com

Local development of components

  • Install dependencies: npm install
  • Start a server and build continuously: npm start
  • Open http://localhost:8081
TypeScript components
  • Components written in TypeScript are compiled differently than normal JS because they use the TypeScript compiler and not Babel. Because they are compiled differently, they will not obey any babel-specified transformations. The right place to configure their transpilation is in tsconfig.json.

Testing with Saucelabs

SAUCE_USERNAME=<your username> SAUCE_ACCESS_KEY=<your access key> npm run test-wct-sauce

Unit Tests

Plain old mocha tests

npm run test-unit

With nyc coverage and html report. Report can be seen in browser at .nyc_report/index.html

npm run test-unit-nyc && npm run coverage-report

Keywords

FAQs

Package last updated on 14 Nov 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc