🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

oss-template

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oss-template

A template for OSS npm packages

1.1.0
latest
Source
npm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

oss-template

Build Status Code Coverage dependencies devDependencies version downloads MIT License PRs Welcome Commitizen friendly semantic-release

A template repository for OSS npm packages.

Usage

git clone git@github.com:jonathanewerner/oss-template.git <your-new-project-name>
cd <your-new-project-name>
rm -rf .git
npm install
npm run validate # check that skeleton code works

Then some manual steps:

  • Change package.json name, description, keywords, repository, author etc.

  • Create new repo for project on github

  • git init

  • git remote add <your-new-repo-origin>

  • Adapt badge links to repo name

  • semantic-release-cli setup

  • Edit .travis.yml by adding / changing to the following:

    before_install:
      - npm i -g npm@^3.0.0
    script:
      - npm run validate
    after_success:
      - npm run report-coverage && npm run semantic-release
    branches:
      only:
        - master
    
  • Change name in line 2 of the LICENCE file.

  • greenkeeper enable (npm install -g greenkeeper && greenkeeper login if not installed)

FAQs

Package last updated on 08 Apr 2016

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