From 8392072068d3e1ab8cc2b16c485b37f2fc7cd62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Natan=20S=C4=85gol?= Date: Tue, 9 Jul 2019 21:39:10 +0200 Subject: [PATCH 1/3] Move unexported dependencies on @types to devDependencies --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 969f64585..3dece69f8 100644 --- a/package.json +++ b/package.json @@ -31,25 +31,25 @@ "test": "mocha -r ts-node/register ./spec/index.spec.ts" }, "dependencies": { - "@types/cors": "^2.8.5", "@types/express": "^4.17.0", - "@types/jsonwebtoken": "^8.3.2", - "@types/lodash": "^4.14.135", "cors": "^2.8.5", "express": "^4.17.1", "jsonwebtoken": "^8.5.1", "lodash": "^4.17.11" }, "devDependencies": { - "@types/chai": "^4.1.7", "@types/chai-as-promised": "^7.1.0", + "@types/chai": "^4.1.7", + "@types/cors": "^2.8.5", + "@types/jsonwebtoken": "^8.3.2", + "@types/lodash": "^4.14.135", "@types/mocha": "^5.2.7", "@types/mock-require": "^2.0.0", "@types/nock": "^10.0.3", "@types/node": "^8.10.50", "@types/sinon": "^7.0.13", - "chai": "^4.2.0", "chai-as-promised": "^7.1.1", + "chai": "^4.2.0", "firebase-admin": "^8.2.0", "istanbul": "^0.4.5", "mocha": "^6.1.4", @@ -58,10 +58,10 @@ "prettier": "^1.18.2", "sinon": "^7.3.2", "ts-node": "^8.3.0", - "tslint": "^5.18.0", "tslint-config-prettier": "^1.18.0", "tslint-no-unused-expression-chai": "^0.1.4", "tslint-plugin-prettier": "^2.0.1", + "tslint": "^5.18.0", "typescript": "^3.5.2" }, "peerDependencies": { From 1ce4a8bd736ed481599e61265cdff86e7c1a6634 Mon Sep 17 00:00:00 2001 From: Diana Tkachenko Date: Tue, 9 Jul 2019 18:51:08 -0700 Subject: [PATCH 2/3] fix ordering in package.json --- package.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 28d079859..4706a361d 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,9 @@ }, "license": "MIT", "author": "Firebase Team", - "files": ["lib"], + "files": [ + "lib" + ], "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { @@ -39,8 +41,8 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@types/chai-as-promised": "^7.1.0", "@types/chai": "^4.1.7", + "@types/chai-as-promised": "^7.1.0", "@types/cors": "^2.8.5", "@types/jsonwebtoken": "^8.3.2", "@types/lodash": "^4.14.135", @@ -49,8 +51,8 @@ "@types/nock": "^10.0.3", "@types/node": "^8.10.50", "@types/sinon": "^7.0.13", - "chai-as-promised": "^7.1.1", "chai": "^4.2.0", + "chai-as-promised": "^7.1.1", "firebase-admin": "^8.2.0", "istanbul": "^0.4.5", "mocha": "^6.1.4", @@ -59,10 +61,10 @@ "prettier": "^1.18.2", "sinon": "^7.3.2", "ts-node": "^8.3.0", + "tslint": "^5.18.0", "tslint-config-prettier": "^1.18.0", "tslint-no-unused-expression-chai": "^0.1.4", "tslint-plugin-prettier": "^2.0.1", - "tslint": "^5.18.0", "typescript": "^3.5.2" }, "peerDependencies": { From 6b2fad0c001593f3bbee970536bc87fe86adb9bd Mon Sep 17 00:00:00 2001 From: Diana Tkachenko Date: Tue, 9 Jul 2019 18:55:07 -0700 Subject: [PATCH 3/3] remove old change with files --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 4706a361d..fd83fbb0b 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,7 @@ }, "license": "MIT", "author": "Firebase Team", - "files": [ - "lib" - ], + "files": ["lib"], "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": {