From 444d8896d6b2607c4fe862d4418cd675084eb69a Mon Sep 17 00:00:00 2001 From: jannyHou Date: Tue, 20 Aug 2019 09:58:46 -0400 Subject: [PATCH] fixup!: code cleanup --- packages/security/docs.json | 7 ------- packages/security/package.json | 20 +++++++++++--------- 2 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 packages/security/docs.json diff --git a/packages/security/docs.json b/packages/security/docs.json deleted file mode 100644 index d2f75808ee7f..000000000000 --- a/packages/security/docs.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "content": [ - "index.ts", - "src/**/*.ts" - ], - "codeSectionDepth": 4 -} diff --git a/packages/security/package.json b/packages/security/package.json index c79845411511..e85bf1699af2 100644 --- a/packages/security/package.json +++ b/packages/security/package.json @@ -5,12 +5,14 @@ "engines": { "node": ">=8.9" }, + "publishConfig": { + "access": "public" + }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", "build": "lb-tsc", - "clean": "lb-clean loopback-authorization*.tgz dist package *.tsbuildinfo", + "clean": "lb-clean loopback-security*.tgz dist package *.tsbuildinfo", "integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"", - "prepublishOnly": "npm run build && npm run build:apidocs", "pretest": "npm run build", "test": "lb-mocha \"dist/__tests__/**/*.js\"", "unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"", @@ -20,16 +22,15 @@ "copyright.owner": "IBM Corp.", "license": "MIT", "dependencies": { - "@loopback/context": "^1.13.0", - "@loopback/core": "^1.8.5", + "@loopback/context": "^1.21.4", + "@loopback/core": "^1.9.3", "debug": "^4.1.1" }, "devDependencies": { - "@loopback/build": "^1.5.2", - "@loopback/testlab": "^1.2.7", + "@loopback/build": "^2.0.8", + "@loopback/testlab": "^1.7.4", "@types/debug": "^4.1.4", - "@types/node": "10.14.15", - "casbin": "^2.0.4" + "@types/node": "^10.14.15", }, "keywords": [ "LoopBack", @@ -45,6 +46,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/strongloop/loopback-next.git" + "url": "https://github.com/strongloop/loopback-next.git", + "directory": "packages/security" } }