From 9ec2bf68cae444c71d3f9041448c7687eaf27a38 Mon Sep 17 00:00:00 2001 From: Alex Layton Date: Wed, 19 Feb 2020 17:51:34 -0500 Subject: [PATCH] Publish new version --- README.md | 9 +-------- package.json | 18 +++++++++--------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index ffb6609..e44d4e2 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ etc, and public OADA client registrations. The library can be installed with `npm` using ```sh -$ npm install oada-lookup +$ npm install @oada/oada-lookup ``` ### Running the tests, coverage, and style checks @@ -32,13 +32,6 @@ The coverage report is generated by: $ npm run cover ``` -Gulp runs `jshint` (lint) and `jscs` (style) with: - -```sh -$ gulp lint -$ gulp style -``` - ### wellKnown(hostname, suffix, options, cb) Fetch a [Well-Known (RFC 5785)][well-known] Resource. The hostname will diff --git a/package.json b/package.json index f7a55e8..1ce9a68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "oada-lookup", - "version": "0.4.1", + "name": "@oada/oada-lookup", + "version": "1.0.0", "description": "JavaScript utility library to lookup OADA documents such as Well-Known (RFC 5785) resource, e.g., oada-configuration, openid-configuration, etc, and public OADA client registrations", "keywords": [ "OADA", @@ -14,23 +14,20 @@ "url": "https://github.com/OADA/oada-lookup-js/issues" }, "license": "Apache-2.0", - "author": { - "name": "Andrew Balmos", - "email": "abalmos@purdue.edu" - }, + "author": "Andrew Balmos ", "main": "lookup.js", "repository": { "type": "git", - "url": "https://github.com/OADA/oada-lookup-js.git" + "url": "git+https://github.com/OADA/oada-lookup-js.git" }, "engines": { "node": ">=0.10" }, "scripts": { - "test": "./node_modules/.bin/_mocha -w", + "test": "_mocha -w", "fix": "prettier-standard", "lint": "prettier-standard --lint", - "cover": "./node_modules/.bin/istanbul cover --preload-sources -x gulpfile.js node_modules/.bin/_mocha -- -R spec", + "cover": "istanbul cover mocha -- -R spec", "clean": "rm -rf ./coverage" }, "mocha": { @@ -52,5 +49,8 @@ "mocha": "^7.0.1", "nock": "^12.0.1", "prettier-standard": "^16.1.0" + }, + "directories": { + "test": "test" } }