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

backbone-hypermedia

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone-hypermedia - npm Package Compare versions

Comparing version 0.1.6 to 0.1.8

bower.json

22

Gruntfile.js

@@ -60,10 +60,13 @@ module.exports = function (grunt) {

// pushes to npm
release: {
options: {
bump: false, // use grunt-bump for this as it can reload pkg
add: false,
commit: false,
tag: false,
push: false,
pushTags: false
// we'll use grunt-bump to increment the version as it
// supports reloading the pkg config var which we need
// as it is referenced when the nuget tasks are run
bump: false,
commitMessage: 'Release <%= version %>',
github: {
repo: 'linn/backbone.hypermedia'
}
}

@@ -74,2 +77,3 @@ },

options: {
// reload pkg config var after bump
updateConfigs: ['pkg'],

@@ -94,5 +98,5 @@ commit: false,

grunt.registerTask('publish', ['publish:patch']);
grunt.registerTask('publish:patch', ['clean', 'bump', 'release:patch', 'nugetpack', 'nugetpush']);
grunt.registerTask('publish:minor', ['clean', 'bump', 'release:minor', 'nugetpack', 'nugetpush']);
grunt.registerTask('publish:major', ['clean', 'bump', 'release:major', 'nugetpack', 'nugetpush']);
grunt.registerTask('publish:patch', ['clean', 'bump:patch', 'release', 'nugetpack', 'nugetpush']);
grunt.registerTask('publish:minor', ['clean', 'bump:minor', 'release', 'nugetpack', 'nugetpush']);
grunt.registerTask('publish:major', ['clean', 'bump:major', 'release', 'nugetpack', 'nugetpush']);
};

@@ -54,3 +54,3 @@ {

"main": "src/backbone-hypermedia-amd.js",
"version": "0.1.6",
"version": "0.1.8",
"license": "MIT",

@@ -57,0 +57,0 @@ "repository": {

@@ -56,3 +56,3 @@ [![Build Status](https://travis-ci.org/linn/backbone.hypermedia.svg?branch=master)](https://travis-ci.org/linn/backbone.hypermedia)

## npm
## Installing from npm
The package is available via [npm](https://www.npmjs.org/package/backbone-hypermedia):

@@ -64,3 +64,3 @@

## NuGet
## Installing from NuGet
The package is available via [NuGet](https://www.nuget.org/packages/backbone.hypermedia/):

@@ -72,2 +72,22 @@

## Publishing
Prior to publishing a new version of the package to npm and NuGet, you must run the following commands to configure your NuGet and npm credentials. You should only need to do this once.
```
npm adduser
grunt nugetkey --key=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
```
Once you have entered your credentials, you can publish to npm and NuGet by running one of the following tasks:
```
grunt publish
```
Increments patch version in package.json, publishes to npm and NuGet. This is short-hand for `grunt publish:patch`.
```
grunt publish:minor
```
As before, but bumps minor version.
```
grunt publish:major
```
As before, but bumps major version.
## Contributors

@@ -74,0 +94,0 @@ - [Sandy Cormie](https://github.com/mr-sandy)

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