Skip to content

Commit

Permalink
chore: use consistent order of dependency metadata in package.json
Browse files Browse the repository at this point in the history
Update `packages/*/package.json` to ensure consistent order of the
following metadata:
1. `peerDependencies`
2. `dependencies`
3. `devDependencies`

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos committed Sep 8, 2020
1 parent e2c61ce commit ccae882
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions packages/booter-lb3app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@loopback/boot": "^2.5.1",
"@loopback/core": "^2.9.5",
"@loopback/rest": "^6.2.0"
},
"dependencies": {
"@types/express": "^4.17.8",
"debug": "^4.1.1",
Expand All @@ -28,11 +33,6 @@
"swagger2openapi": "^7.0.0",
"tslib": "^2.0.1"
},
"peerDependencies": {
"@loopback/boot": "^2.5.1",
"@loopback/core": "^2.9.5",
"@loopback/rest": "^6.2.0"
},
"devDependencies": {
"@loopback/boot": "^2.5.1",
"@loopback/build": "^6.2.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/model-api-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"@loopback/core": "^2.9.5",
"@loopback/repository": "^2.11.2"
},
"dependencies": {
"tslib": "^2.0.1"
},
"devDependencies": {
"@loopback/build": "^1.7.1",
"@loopback/core": "^2.9.5",
Expand All @@ -40,8 +43,5 @@
"type": "git",
"url": "https://github.com/strongloop/loopback-next.git",
"directory": "packages/model-api-builder"
},
"dependencies": {
"tslib": "^2.0.1"
}
}
10 changes: 5 additions & 5 deletions packages/rest-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@loopback/core": "^2.9.5",
"@loopback/repository": "^2.11.2",
"@loopback/rest": "^6.2.0"
},
"dependencies": {
"@loopback/model-api-builder": "^2.1.13",
"debug": "^4.1.1",
Expand All @@ -34,11 +39,6 @@
"@types/debug": "^4.1.5",
"@types/node": "^10.17.29"
},
"peerDependencies": {
"@loopback/core": "^2.9.5",
"@loopback/repository": "^2.11.2",
"@loopback/rest": "^6.2.0"
},
"files": [
"README.md",
"dist",
Expand Down

0 comments on commit ccae882

Please sign in to comment.