Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Revert name change (not accepted by npm)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellmorten committed May 5, 2018
1 parent c57d9df commit 06c0768
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
Hapi plugin for enabling/enforcing [JSON-API specification](http://jsonapi.org).

Original project transferred from [@wraithgar](https://github.com/wraithgar).
Was `@gar/hapi-json-api`.

[![Current Version](https://img.shields.io/npm/v/hapi-json-api.svg)](https://www.npmjs.org/package/hapi-json-api)
[![Current Version](https://img.shields.io/npm/v/@gar/hapi-json-api.svg)](https://www.npmjs.org/package/@gar/hapi-json-api)
[![Build Status](https://travis-ci.org/kjellmorten/hapi-json-api.svg?branch=master)](https://travis-ci.org/kjellmorten/hapi-json-api)
[![NSP Status](https://nodesecurity.io/orgs/laboreum/projects/933c42d1-7af0-4d0b-82b5-08c4915afe6b/badge)](https://nodesecurity.io/orgs/laboreum/projects/933c42d1-7af0-4d0b-82b5-08c4915afe6b)
[![Greenkeeper badge](https://badges.greenkeeper.io/kjellmorten/hapi-json-api.svg)](https://greenkeeper.io/)
Expand All @@ -21,7 +20,7 @@ We support Hapi 17 from version 3.x, and have dropped support for Node < 8.6.
### Installing

```shell
npm install hapi-json-api
npm install @gar/hapi-json-api
```

## Example of use
Expand All @@ -30,7 +29,7 @@ npm install hapi-json-api
//where server is a hapi server

server.register({
register: require('hapi-json-api')
register: require('@gar/hapi-json-api')
options: {}
});
```
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hapi-json-api",
"version": "3.0.0",
"name": "@gar/hapi-json-api",
"version": "3.0.1",
"description": "Hapi plugin for enabling/enforcing JSONAPI specification",
"main": "lib/index.js",
"scripts": {
Expand Down

1 comment on commit 06c0768

@binarymist
Copy link
Contributor

@binarymist binarymist commented on 06c0768 May 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is annoying aye.

Please sign in to comment.