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

kriging

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kriging

  • 0.1.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-46.67%
Maintainers
1
Weekly downloads
 
Created
Source

karma-rollup-mocha

Build Status codecov

Unit test

Unit test to make you code runs well

step 1:

npm install

step 2:

npm install -g karma-cli

You will need to do this if you want to run Karma on Windows from the command line.

start karam

karma start

Build

Building 'dist/bundle.js' as an output if you confirmed that all of your tests runs well.

install rollup

npm install -g rollup 

You will need to install rollup in global if you want to run rollup on Windows from the command line.

build

rollup -c

The default output folder's location : "./dist/*"

Npm publish

npm publish

Before publish code to npm,you need to add one account at least.

add npm user

npm adduser

Then add username/password/email

Debugger for chrome

Add settings in VSC launch.json

 {
     "type": "chrome",
     "request": "attach",
     "name": "Attach Karma Chrome",
     "address": "localhost",
     "port": 9333,
     "webRoot": "${workspaceRoot}",
     "pathMapping": {
         "/": "${workspaceRoot}",
         "/base/": "${workspaceRoot}/"
     }
 }

running code

karma start

press 'F5' to attach the source , enjoy it!

FAQs

Package last updated on 25 Jul 2017

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