Socket
Socket
Sign inDemoInstall

starterkit

Package Overview
Dependencies
0
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    starterkit

[![npm version](https://badge.fury.io/js/starterkit.svg)](https://badge.fury.io/js/starterkit) [![Build Status](https://travis-ci.org/ifrost/starterkit.svg?branch=master)](https://travis-ci.org/ifrost/starterkit) [![codecov](https://codecov.io/gh/ifrost/s


Version published
Maintainers
1
Install size
187 kB
Created

Readme

Source

starterkit

npm version Build Status codecov Known Vulnerabilities Codacy Badge Greenkeeper badge

Starter kit includes:

  • Node app + webpack (dist/starterkit.js)
  • Test suite with mocha/chai/sinon
  • Code coverage generated with istanbul
  • TravisCI config
  • ESLint config
  • JSDoc config
  • Build & publish npm-scripts
  • README.md with badges
  • scripts/
    • changelog.js - generates changes since last tag
    • version.js - update and tags current version

Installation:

> mkdir my-project
> cd my-project
> npm init
> npm install -g starterkit
> starterkit-install
> npm install

Configure Travis CI

  • Add GITHUB_API_KEY - GitHub / Profile / Settings / Personal Access Tokens (select public_repo)
  • Add NPM_API_KEY - authToken from ~/.npmrc
  • Add NPM_EMAIL - your email
  • Select Auto cancel branch builds
  • Select General section:
    • Build only if .travis.yml is present
    • Build branch updates
    • Build pull request updates

Create branches

  • release
  • gh-pages

Add project to:

NPM script commands

  • eslint - runs linting with esliint
  • doc - generates documentation in docs/code
  • build - creates browser build
  • test - runs tests
  • coverage - generates test coverage report
  • codecov - publishes coverage report (part of travisCI config, see .travis.yml)
  • version - releases new version (runs tests, generates changelog, builds the project, adds changes to git and tags it)

FAQs

Last updated on 30 Nov 2017

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